make distclean
Falk Hueffner
falk.hueffner at student.uni-tuebingen.de
Tue Oct 24 23:19:46 CEST 2000
Hi,
for building a Debian package, one needs a working "make
distclean". This patch adds a "distclean" target in some Makefiles
where it was missing, and adds a few more files that need to be
deleted. Ideally, a diff between the distributed source and the tree
after "make distclean" would be empty, but some part of the build
process that I don't really understand insists on changing
include/arla-version.in...
Also it seems to be wiser not to remove the man page on "make clean"
in lib/cmd, since there is no way to recreate it...
Falk
diff -x *~ -Nurd arla-0.34.3/Makefile.in arla-0.34.3-ffh/Makefile.in
--- arla-0.34.3/Makefile.in Mon Jun 5 02:29:56 2000
+++ arla-0.34.3-ffh/Makefile.in Tue Oct 24 23:10:21 2000
@@ -27,6 +27,9 @@
SUBDIRS='$(SUBDIRS)'; \
for i in $$SUBDIRS; \
do (cd $$i && $(MAKE) $(MFLAGS) $@) || exit 1; done
+ -rm -f `find . -name "Makefile"`
+ -rm -f conf/arla.spec
+ -rm -f config.cache config.status config.log include/config.h
mostlyclean:
SUBDIRS='$(SUBDIRS)'; \
Binary files arla-0.34.3/core and arla-0.34.3-ffh/core differ
diff -x *~ -Nurd arla-0.34.3/doc/Makefile.in arla-0.34.3-ffh/doc/Makefile.in
--- arla-0.34.3/doc/Makefile.in Sat Jun 17 05:05:12 2000
+++ arla-0.34.3-ffh/doc/Makefile.in Tue Oct 24 22:43:47 2000
@@ -181,6 +181,8 @@
arla.kys arla.ps arla.log arla.pg arla.toc arla.tp arla.tps \
arla.vr arla.vrs arla.op arla.tr arla.cv arla.cn
+distclean: clean
+ rm -f *.dvi *.info *.ps *.pdf *.html
# Tell versions [3.59,3.63) of GNU make to not export all variables.
# Otherwise a system limit (for SysV at least) may be exceeded.
diff -x *~ -Nurd arla-0.34.3/lib/cmd/Makefile.in arla-0.34.3-ffh/lib/cmd/Makefile.in
--- arla-0.34.3/lib/cmd/Makefile.in Thu Jul 13 03:03:03 2000
+++ arla-0.34.3-ffh/lib/cmd/Makefile.in Tue Oct 24 22:54:32 2000
@@ -93,7 +93,7 @@
check:
clean:
- rm -f $(cmd_LIB) $(PROGS) $(MANS) *.o *.a
+ rm -f $(cmd_LIB) $(PROGS) *.o *.a
mostlyclean: clean
--- arla-0.34.3/xfs/linux/bin/Makefile.in Sun Mar 5 08:24:53 2000
+++ arla-0.34.3-ffh/xfs/linux/bin/Makefile.in Tue Oct 24 22:42:15 2000
@@ -40,6 +40,8 @@
clean:
$(RM) -f startarla mount_xfs arla *.o *~
+distclean: clean
+
mount_xfs: mount_xfs.o
$(CC) -o $@ mount_xfs.o
More information about the Arla-drinkers
mailing list