mirror of
https://github.com/MidnightCommander/mc
synced 2024-12-22 20:36:50 +03:00
"make dist" is working again
This commit is contained in:
parent
e3b446050c
commit
ec5351e438
12
Makefile.in
12
Makefile.in
@ -99,17 +99,12 @@ distclean:
|
||||
rm -f vfs/extfs/{ftplist,uzip,uzoo,lslR,ulha,ucpio,deb,urar,uar}
|
||||
rm -f $(srcdir)/config.log $(srcdir)/config.status
|
||||
|
||||
distdirs:
|
||||
mkdir ../mc-$(VERSION); \
|
||||
for I in $(alldirs) extfs support support/xview_private; do \
|
||||
mkdir ../mc-$(VERSION)/$$I; \
|
||||
done
|
||||
|
||||
distcopy:
|
||||
sed -e "s/^%define ver .*/%define ver $(VERSION)/; s/^%define rel .*/%define rel 1/" mc.spec > Specfile
|
||||
mkdir ../mc-$(VERSION)
|
||||
cp $(DISTMAIN) ../mc-$(VERSION);
|
||||
-mkdir ../mc-$(VERSION)/intl
|
||||
for I in $(alldirs); do \
|
||||
mkdir ../mc-$(VERSION)/$$I; \
|
||||
cd $$I ; \
|
||||
$(MAKE) distcopy VERSION=$(VERSION) PACKAGE=mc || exit 1; \
|
||||
cd ..; done
|
||||
@ -120,6 +115,5 @@ distcopy:
|
||||
(cd ..; tar cvf - mc-$(VERSION) | \
|
||||
gzip -f9 > mc-$(VERSION).tar.gz)
|
||||
|
||||
dist: configure config.h.in distdirs distcopy
|
||||
|
||||
dist: configure config.h.in distcopy
|
||||
|
||||
|
@ -24,7 +24,7 @@ EDITSRC = edit.c editcmd.c editwidget.c edit_key_translator.c editdraw.c \
|
||||
EDITOBJS = edit.o editcmd.o editwidget.o editdraw.o editmenu.o wordproc.o \
|
||||
syntax.o editoptions.o
|
||||
|
||||
DIST = Makefile.in README.edit $(EDITSRC)
|
||||
DIST = Makefile.in $(EDITSRC)
|
||||
|
||||
all: @LIBEDIT_A@
|
||||
|
||||
|
@ -21,14 +21,14 @@ AR = @AR@
|
||||
EDITSRC = edit.c editcmd.c editdraw.c \
|
||||
editwidget.c gtkedit.c gtkeditkey.c \
|
||||
mousemark.c propfont.c syntax.c wordproc.c \
|
||||
config.h edit.h editcmddef.h global.h gtkedit.h \
|
||||
libgettext.h lkeysym.h mousemark.h my_string.h
|
||||
edit.h editcmddef.h global.h gtkedit.h \
|
||||
libgettext.h lkeysym.h mousemark.h
|
||||
|
||||
EDITOBJS = edit.o editcmd.o editdraw.o \
|
||||
editwidget.o gtkedit.o gtkeditkey.o \
|
||||
mousemark.o propfont.o syntax.o wordproc.o \
|
||||
|
||||
DIST = Makefile.in README.edit $(EDITSRC)
|
||||
DIST = Makefile.in $(EDITSRC)
|
||||
|
||||
all: libgtkedit.a
|
||||
|
||||
|
@ -24,7 +24,7 @@ NETFILES = tcputil.o fish.o ftpfs.o mcfs.o utilvfs.o
|
||||
NONETFILES = local.o vfs.o tar.o sfs.o names.o container.o extfs.o \
|
||||
@undelfs_o@
|
||||
|
||||
VFSSRCS = local.c vfs.c mcfs.c tcputil.c tar.c sfs.c names.c shared.c \
|
||||
VFSSRCS = local.c vfs.c mcfs.c tcputil.c tar.c sfs.c names.c \
|
||||
ftpfs.c container.c mcserv.c extfs.c undelfs.c utilvfs.c fish.c
|
||||
|
||||
VFSHDRS = vfs.h mcfs.h tcputil.h tar.h container.h ftpfs.h names.h \
|
||||
@ -147,6 +147,7 @@ uninstall:
|
||||
|
||||
distcopy:
|
||||
$(CP) $(DISTVFS) ../../mc-$(VERSION)/vfs
|
||||
mkdir ../../mc-$(VERSION)/vfs/extfs
|
||||
cd extfs; $(CP) $(EXTFSSTUFF) ../../../mc-$(VERSION)/vfs/extfs
|
||||
|
||||
depend dep: mcdep
|
||||
|
@ -134,7 +134,10 @@ distclean: cleansourcelinks
|
||||
|
||||
distcopy:
|
||||
$(CP) $(DISTXV) ../../mc-$(VERSION)/xv
|
||||
cd support/xview_private; $(CP) $(XVSUPPXVHDRS) ../../../../mc-$(VERSION)/xv/support/xview_private
|
||||
mkdir ../../mc-$(VERSION)/xv/support
|
||||
mkdir ../../mc-$(VERSION)/xv/support/xview_private
|
||||
cd support/xview_private; $(CP) $(XVSUPPXVHDRS) \
|
||||
../../../../mc-$(VERSION)/xv/support/xview_private
|
||||
|
||||
install: install_@mxc@
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user