"make dist" is working again
Этот коммит содержится в:
родитель
e3b446050c
Коммит
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 vfs/extfs/{ftplist,uzip,uzoo,lslR,ulha,ucpio,deb,urar,uar}
|
||||||
rm -f $(srcdir)/config.log $(srcdir)/config.status
|
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:
|
distcopy:
|
||||||
sed -e "s/^%define ver .*/%define ver $(VERSION)/; s/^%define rel .*/%define rel 1/" mc.spec > Specfile
|
sed -e "s/^%define ver .*/%define ver $(VERSION)/; s/^%define rel .*/%define rel 1/" mc.spec > Specfile
|
||||||
|
mkdir ../mc-$(VERSION)
|
||||||
cp $(DISTMAIN) ../mc-$(VERSION);
|
cp $(DISTMAIN) ../mc-$(VERSION);
|
||||||
-mkdir ../mc-$(VERSION)/intl
|
|
||||||
for I in $(alldirs); do \
|
for I in $(alldirs); do \
|
||||||
|
mkdir ../mc-$(VERSION)/$$I; \
|
||||||
cd $$I ; \
|
cd $$I ; \
|
||||||
$(MAKE) distcopy VERSION=$(VERSION) PACKAGE=mc || exit 1; \
|
$(MAKE) distcopy VERSION=$(VERSION) PACKAGE=mc || exit 1; \
|
||||||
cd ..; done
|
cd ..; done
|
||||||
@ -120,6 +115,5 @@ distcopy:
|
|||||||
(cd ..; tar cvf - mc-$(VERSION) | \
|
(cd ..; tar cvf - mc-$(VERSION) | \
|
||||||
gzip -f9 > mc-$(VERSION).tar.gz)
|
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 \
|
EDITOBJS = edit.o editcmd.o editwidget.o editdraw.o editmenu.o wordproc.o \
|
||||||
syntax.o editoptions.o
|
syntax.o editoptions.o
|
||||||
|
|
||||||
DIST = Makefile.in README.edit $(EDITSRC)
|
DIST = Makefile.in $(EDITSRC)
|
||||||
|
|
||||||
all: @LIBEDIT_A@
|
all: @LIBEDIT_A@
|
||||||
|
|
||||||
|
@ -21,14 +21,14 @@ AR = @AR@
|
|||||||
EDITSRC = edit.c editcmd.c editdraw.c \
|
EDITSRC = edit.c editcmd.c editdraw.c \
|
||||||
editwidget.c gtkedit.c gtkeditkey.c \
|
editwidget.c gtkedit.c gtkeditkey.c \
|
||||||
mousemark.c propfont.c syntax.c wordproc.c \
|
mousemark.c propfont.c syntax.c wordproc.c \
|
||||||
config.h edit.h editcmddef.h global.h gtkedit.h \
|
edit.h editcmddef.h global.h gtkedit.h \
|
||||||
libgettext.h lkeysym.h mousemark.h my_string.h
|
libgettext.h lkeysym.h mousemark.h
|
||||||
|
|
||||||
EDITOBJS = edit.o editcmd.o editdraw.o \
|
EDITOBJS = edit.o editcmd.o editdraw.o \
|
||||||
editwidget.o gtkedit.o gtkeditkey.o \
|
editwidget.o gtkedit.o gtkeditkey.o \
|
||||||
mousemark.o propfont.o syntax.o wordproc.o \
|
mousemark.o propfont.o syntax.o wordproc.o \
|
||||||
|
|
||||||
DIST = Makefile.in README.edit $(EDITSRC)
|
DIST = Makefile.in $(EDITSRC)
|
||||||
|
|
||||||
all: libgtkedit.a
|
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 \
|
NONETFILES = local.o vfs.o tar.o sfs.o names.o container.o extfs.o \
|
||||||
@undelfs_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
|
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 \
|
VFSHDRS = vfs.h mcfs.h tcputil.h tar.h container.h ftpfs.h names.h \
|
||||||
@ -147,6 +147,7 @@ uninstall:
|
|||||||
|
|
||||||
distcopy:
|
distcopy:
|
||||||
$(CP) $(DISTVFS) ../../mc-$(VERSION)/vfs
|
$(CP) $(DISTVFS) ../../mc-$(VERSION)/vfs
|
||||||
|
mkdir ../../mc-$(VERSION)/vfs/extfs
|
||||||
cd extfs; $(CP) $(EXTFSSTUFF) ../../../mc-$(VERSION)/vfs/extfs
|
cd extfs; $(CP) $(EXTFSSTUFF) ../../../mc-$(VERSION)/vfs/extfs
|
||||||
|
|
||||||
depend dep: mcdep
|
depend dep: mcdep
|
||||||
|
@ -134,7 +134,10 @@ distclean: cleansourcelinks
|
|||||||
|
|
||||||
distcopy:
|
distcopy:
|
||||||
$(CP) $(DISTXV) ../../mc-$(VERSION)/xv
|
$(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@
|
install: install_@mxc@
|
||||||
|
|
||||||
|
Загрузка…
Ссылка в новой задаче
Block a user