"make dist" is working again

This commit is contained in:
Pavel Roskin 1998-09-18 19:45:27 +00:00
parent e3b446050c
commit ec5351e438
5 changed files with 13 additions and 15 deletions

View File

@ -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

View File

@ -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@

View File

@ -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

View File

@ -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

View File

@ -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@