distclean: clean
$(RM) -f .depend Makefile $(srcdir)/TAGS $(srcdir)/Makefile.in.old
-#
-# Kludge to create a "special" e2fsprogs distribution file.
-#
-
-SRCROOT = `echo e2fsprogs-@E2FSPROGS_VERSION@ | sed -e 's/-WIP//' \
- -e 's/pre-//' -e 's/-PLUS//'`
-TAR=tar
-
-$(top_srcdir)/.exclude-file:
- a=$(SRCROOT); \
- (cd $(top_srcdir)/.. ; find e2fsprogs \( -name \*~ -o -name \*.orig \
- -o -name CVS -o -name \*.rej \) -print) \
- | sed -e "s/e2fsprogs/$$a/" > $(top_srcdir)/.exclude-file
- echo "$(SRCROOT)/build" >> $(top_srcdir)/.exclude-file
- echo "$(SRCROOT)/rpm.log" >> $(top_srcdir)/.exclude-file
- echo "$(SRCROOT)/powerquest" >> $(top_srcdir)/.exclude-file
- echo "$(SRCROOT)/.exclude-file" >> $(top_srcdir)/.exclude-file
- echo $(SRCROOT)/e2fsprogs-@E2FSPROGS_VERSION@.tar.gz \
- >> $(top_srcdir)/.exclude-file
- echo $(SRCROOT)/e2fsprogs-ALL-@E2FSPROGS_VERSION@.tar.gz \
- >> $(top_srcdir)/.exclude-file
-
-source_tar_file: $(top_srcdir)/.exclude-file
- (cd $(top_srcdir)/..; a=$(SRCROOT); rm -f $$a ; ln -sf e2fsprogs $$a ; \
- $(TAR) -c -h -v -f - \
- -X $$a/.exclude-file $$a | \
- gzip -9 > e2fsprogs-ALL-@E2FSPROGS_VERSION@.tar.gz)
- rm -f $(top_srcdir)/.exclude-file
-
# +++ Dependency line eater +++
#
# Makefile dependencies follow. This must be the last section in