Theodore Ts'o | 50e1e10 | 1997-04-26 13:58:21 +0000 | [diff] [blame] | 1 | srcdir = @srcdir@ |
| 2 | top_srcdir = @top_srcdir@ |
| 3 | VPATH = @srcdir@ |
| 4 | top_builddir = . |
Theodore Ts'o | fc6d9d5 | 1997-04-29 14:51:31 +0000 | [diff] [blame] | 5 | my_dir = . |
Theodore Ts'o | 50e1e10 | 1997-04-26 13:58:21 +0000 | [diff] [blame] | 6 | INSTALL = @INSTALL@ |
| 7 | |
| 8 | @MCONFIG@ |
| 9 | |
Theodore Ts'o | cdf186e | 2001-06-13 22:16:47 +0000 | [diff] [blame] | 10 | @RESIZER_CMT@RESIZE_DIR= resize |
| 11 | @DEBUGFS_CMT@DEBUGFS_DIR= debugfs |
Theodore Ts'o | e6f2bda | 2002-08-18 03:37:10 -0400 | [diff] [blame] | 12 | @LINUX_CMT@EVMS_DIR= lib/evms |
Theodore Ts'o | cdf186e | 2001-06-13 22:16:47 +0000 | [diff] [blame] | 13 | |
Theodore Ts'o | e12f2ae | 2003-01-23 16:45:16 -0500 | [diff] [blame] | 14 | LIB_SUBDIRS=lib/et lib/ss lib/e2p lib/ext2fs lib/uuid lib/blkid |
Theodore Ts'o | e6f2bda | 2002-08-18 03:37:10 -0400 | [diff] [blame] | 15 | PROG_SUBDIRS=e2fsck $(DEBUGFS_DIR) misc $(RESIZE_DIR) tests/progs $(EVMS_DIR) |
Theodore Ts'o | f3b3dbb | 1999-07-19 16:18:52 +0000 | [diff] [blame] | 16 | SUBDIRS=util $(LIB_SUBDIRS) $(PROG_SUBDIRS) tests |
Theodore Ts'o | 50e1e10 | 1997-04-26 13:58:21 +0000 | [diff] [blame] | 17 | |
Theodore Ts'o | 94ba8c7 | 2003-03-02 02:07:14 -0500 | [diff] [blame^] | 18 | SUBS= lib/ext2fs/ext2_types.h lib/blkid/blkid_types.h lib/uuid/uuid_types.h |
Theodore Ts'o | 50e1e10 | 1997-04-26 13:58:21 +0000 | [diff] [blame] | 19 | |
Theodore Ts'o | 21c84b7 | 1997-04-29 16:15:03 +0000 | [diff] [blame] | 20 | TAR=tar |
| 21 | |
Theodore Ts'o | 94ba8c7 | 2003-03-02 02:07:14 -0500 | [diff] [blame^] | 22 | all:: |
Theodore Ts'o | 6928adc | 2000-05-25 23:28:50 +0000 | [diff] [blame] | 23 | $(MAKE) libs |
| 24 | $(MAKE) progs |
| 25 | $(MAKE) docs |
Theodore Ts'o | a4d0961 | 1997-04-29 14:28:00 +0000 | [diff] [blame] | 26 | |
Theodore Ts'o | 94ba8c7 | 2003-03-02 02:07:14 -0500 | [diff] [blame^] | 27 | subs: |
| 28 | for i in $(SUBS) ; do if test -d `dirname $$i` ; then make $$i ; fi ; done |
| 29 | |
| 30 | progs: subs all-progs-recursive |
| 31 | libs: subs all-libs-recursive |
Theodore Ts'o | 50e1e10 | 1997-04-26 13:58:21 +0000 | [diff] [blame] | 32 | |
Theodore Ts'o | 21c84b7 | 1997-04-29 16:15:03 +0000 | [diff] [blame] | 33 | docs: |
Theodore Ts'o | 94ba8c7 | 2003-03-02 02:07:14 -0500 | [diff] [blame^] | 34 | -test -d doc && cd doc && $(MAKE) libext2fs.info |
Theodore Ts'o | 21c84b7 | 1997-04-29 16:15:03 +0000 | [diff] [blame] | 35 | |
| 36 | install-doc-libs: |
Theodore Ts'o | 94ba8c7 | 2003-03-02 02:07:14 -0500 | [diff] [blame^] | 37 | -test -d doc && cd doc && $(MAKE) install-doc-libs |
Theodore Ts'o | 21c84b7 | 1997-04-29 16:15:03 +0000 | [diff] [blame] | 38 | |
Theodore Ts'o | a4b2d3c | 1998-04-03 16:12:25 +0000 | [diff] [blame] | 39 | uninstall-doc-libs: |
Theodore Ts'o | 94ba8c7 | 2003-03-02 02:07:14 -0500 | [diff] [blame^] | 40 | -test -d doc && cd doc && $(MAKE) uninstall-doc-libs |
Theodore Ts'o | a4b2d3c | 1998-04-03 16:12:25 +0000 | [diff] [blame] | 41 | |
Theodore Ts'o | 3ac9f0e | 1999-07-19 21:02:11 +0000 | [diff] [blame] | 42 | clean-doc: |
Theodore Ts'o | 94ba8c7 | 2003-03-02 02:07:14 -0500 | [diff] [blame^] | 43 | -test -d doc && cd doc && $(MAKE) clean |
Theodore Ts'o | 3ac9f0e | 1999-07-19 21:02:11 +0000 | [diff] [blame] | 44 | |
| 45 | distclean-doc: |
Theodore Ts'o | 94ba8c7 | 2003-03-02 02:07:14 -0500 | [diff] [blame^] | 46 | -test -d doc && cd doc && $(MAKE) distclean |
Theodore Ts'o | 3ac9f0e | 1999-07-19 21:02:11 +0000 | [diff] [blame] | 47 | |
Theodore Ts'o | 94ba8c7 | 2003-03-02 02:07:14 -0500 | [diff] [blame^] | 48 | install: subs all-libs-recursive install-progs-recursive \ |
Theodore Ts'o | 21c84b7 | 1997-04-29 16:15:03 +0000 | [diff] [blame] | 49 | install-shlibs-libs-recursive install-doc-libs |
Theodore Ts'o | 286a31a | 2000-04-03 13:17:59 +0000 | [diff] [blame] | 50 | # export MANPATH=$(DESTDIR)$(mandir); $(srcdir)/install-utils/compile_manpages |
Theodore Ts'o | 94ba8c7 | 2003-03-02 02:07:14 -0500 | [diff] [blame^] | 51 | if test ! -d e2fsck -a ! -d debugfs -a ! -d misc -a ! -d ext2ed ; then $(MAKE) install-libs ; fi |
Theodore Ts'o | 50e1e10 | 1997-04-26 13:58:21 +0000 | [diff] [blame] | 52 | |
Theodore Ts'o | a4b2d3c | 1998-04-03 16:12:25 +0000 | [diff] [blame] | 53 | uninstall: uninstall-progs-recursive uninstall-shlibs-libs-recursive uninstall-doc-libs |
| 54 | |
Theodore Ts'o | 50e1e10 | 1997-04-26 13:58:21 +0000 | [diff] [blame] | 55 | install-libs: install-libs-recursive |
| 56 | |
Theodore Ts'o | a4b2d3c | 1998-04-03 16:12:25 +0000 | [diff] [blame] | 57 | uninstall-libs: uninstall-libs-recursive |
| 58 | |
Theodore Ts'o | 3e377db | 2000-12-09 02:37:33 +0000 | [diff] [blame] | 59 | TAGS clean-recursive distclean-recursive depend-recursive check-recursive \ |
Theodore Ts'o | 50e1e10 | 1997-04-26 13:58:21 +0000 | [diff] [blame] | 60 | mostlyclean-recursive realclean-recursive install-recursive: |
| 61 | for subdir in $(SUBDIRS); do \ |
Theodore Ts'o | 24b2c7a | 1997-06-07 20:42:58 +0000 | [diff] [blame] | 62 | if test -d $$subdir ; then \ |
| 63 | target=`echo $@|$(SED) 's/-recursive//'`; \ |
| 64 | echo making $$target in $$subdir; \ |
| 65 | (cd $$subdir && $(MAKE) $$target) || exit 1; \ |
| 66 | fi ; \ |
Theodore Ts'o | 50e1e10 | 1997-04-26 13:58:21 +0000 | [diff] [blame] | 67 | done |
| 68 | |
Theodore Ts'o | a4b2d3c | 1998-04-03 16:12:25 +0000 | [diff] [blame] | 69 | all-progs-recursive install-progs-recursive uninstall-progs-recursive: |
Theodore Ts'o | 50e1e10 | 1997-04-26 13:58:21 +0000 | [diff] [blame] | 70 | for subdir in $(PROG_SUBDIRS); do \ |
Theodore Ts'o | 24b2c7a | 1997-06-07 20:42:58 +0000 | [diff] [blame] | 71 | if test -d $$subdir ; then \ |
| 72 | target=`echo $@|$(SED) 's/-progs-recursive//'`; \ |
| 73 | echo making $$target in $$subdir; \ |
| 74 | (cd $$subdir && $(MAKE) $$target) || exit 1; \ |
| 75 | fi ; \ |
Theodore Ts'o | 50e1e10 | 1997-04-26 13:58:21 +0000 | [diff] [blame] | 76 | done |
| 77 | |
Theodore Ts'o | a4b2d3c | 1998-04-03 16:12:25 +0000 | [diff] [blame] | 78 | all-libs-recursive install-libs-recursive uninstall-libs-recursive install-shlibs-libs-recursive uninstall-shlibs-libs-recursive: |
Theodore Ts'o | 50e1e10 | 1997-04-26 13:58:21 +0000 | [diff] [blame] | 79 | for subdir in $(LIB_SUBDIRS); do \ |
Theodore Ts'o | 24b2c7a | 1997-06-07 20:42:58 +0000 | [diff] [blame] | 80 | if test -d $$subdir ; then \ |
| 81 | target=`echo $@|$(SED) 's/-libs-recursive//'`; \ |
| 82 | echo making $$target in $$subdir; \ |
| 83 | (cd $$subdir && $(MAKE) $$target) || exit 1; \ |
| 84 | fi ; \ |
Theodore Ts'o | 50e1e10 | 1997-04-26 13:58:21 +0000 | [diff] [blame] | 85 | done |
| 86 | |
| 87 | mostlyclean: mostlyclean-recursive mostlyclean-local |
Theodore Ts'o | a4d0961 | 1997-04-29 14:28:00 +0000 | [diff] [blame] | 88 | |
Theodore Ts'o | 3ac9f0e | 1999-07-19 21:02:11 +0000 | [diff] [blame] | 89 | clean: clean-recursive clean-local clean-doc |
Theodore Ts'o | a4d0961 | 1997-04-29 14:28:00 +0000 | [diff] [blame] | 90 | $(RM) -f $(SUBS) |
| 91 | |
Theodore Ts'o | 3ac9f0e | 1999-07-19 21:02:11 +0000 | [diff] [blame] | 92 | distclean: distclean-doc distclean-recursive distclean-local |
Theodore Ts'o | a4d0961 | 1997-04-29 14:28:00 +0000 | [diff] [blame] | 93 | |
Theodore Ts'o | 50e1e10 | 1997-04-26 13:58:21 +0000 | [diff] [blame] | 94 | realclean: realclean-recursive realclean-local |
| 95 | |
Theodore Ts'o | 9d564f7 | 1999-07-03 20:25:58 +0000 | [diff] [blame] | 96 | depend:: depend-recursive |
| 97 | |
Theodore Ts'o | 797f5ef | 2001-06-01 23:49:46 +0000 | [diff] [blame] | 98 | lib/ext2fs/ext2_types.h: $(DEP_SUBSTITUTE) $(srcdir)/lib/ext2fs/ext2_types.h.in |
| 99 | $(SUBSTITUTE) $(srcdir)/lib/ext2fs/ext2_types.h.in \ |
| 100 | > lib/ext2fs/ext2_types.h |
Theodore Ts'o | a4d0961 | 1997-04-29 14:28:00 +0000 | [diff] [blame] | 101 | |
Theodore Ts'o | ed1b33e | 2003-03-01 19:29:01 -0500 | [diff] [blame] | 102 | lib/blkid/blkid_types.h: $(DEP_SUBSTITUTE) $(srcdir)/lib/blkid/blkid_types.h.in |
| 103 | $(SUBSTITUTE) $(srcdir)/lib/blkid/blkid_types.h.in \ |
| 104 | > lib/blkid/blkid_types.h |
| 105 | |
Theodore Ts'o | 94ba8c7 | 2003-03-02 02:07:14 -0500 | [diff] [blame^] | 106 | lib/uuid/uuid_types.h: $(DEP_SUBSTITUTE) $(srcdir)/lib/uuid/uuid_types.h.in |
| 107 | $(SUBSTITUTE) $(srcdir)/lib/uuid/uuid_types.h.in \ |
| 108 | > lib/uuid/uuid_types.h |
| 109 | |
Theodore Ts'o | 50e1e10 | 1997-04-26 13:58:21 +0000 | [diff] [blame] | 110 | mostlyclean-local: |
Andreas Dilger | 83d0b97 | 2001-08-04 01:02:34 -0600 | [diff] [blame] | 111 | $(RM) -f \#* *~ *.orig core MAKELOG |
Theodore Ts'o | 5c36a2f | 1999-11-19 18:42:30 +0000 | [diff] [blame] | 112 | |
Theodore Ts'o | 50e1e10 | 1997-04-26 13:58:21 +0000 | [diff] [blame] | 113 | clean-local: mostlyclean-local |
Theodore Ts'o | 5c36a2f | 1999-11-19 18:42:30 +0000 | [diff] [blame] | 114 | |
Theodore Ts'o | 50e1e10 | 1997-04-26 13:58:21 +0000 | [diff] [blame] | 115 | distclean-local: clean-local |
Andreas Dilger | 83d0b97 | 2001-08-04 01:02:34 -0600 | [diff] [blame] | 116 | $(RM) -f $(SUBS) $(SUBST_CONF) \ |
Theodore Ts'o | 5c36a2f | 1999-11-19 18:42:30 +0000 | [diff] [blame] | 117 | config.status config.log config.cache MCONFIG Makefile \ |
| 118 | $(srcdir)/TAGS $(srcdir)/Makefile.in.old |
| 119 | |
Theodore Ts'o | 50e1e10 | 1997-04-26 13:58:21 +0000 | [diff] [blame] | 120 | realclean-local: distclean-local |
| 121 | $(RM) -f configure |
| 122 | |
Theodore Ts'o | 94ba8c7 | 2003-03-02 02:07:14 -0500 | [diff] [blame^] | 123 | check:: subs check-recursive |
Theodore Ts'o | 50e1e10 | 1997-04-26 13:58:21 +0000 | [diff] [blame] | 124 | |
Theodore Ts'o | 74becf3 | 1997-04-26 14:37:06 +0000 | [diff] [blame] | 125 | distribution_tar_file: |
Theodore Ts'o | 6676326 | 1999-07-19 15:52:58 +0000 | [diff] [blame] | 126 | $(RM) -rf /tmp/dest |
Theodore Ts'o | 6928adc | 2000-05-25 23:28:50 +0000 | [diff] [blame] | 127 | $(MAKE) DESTDIR=/tmp/dest install |
Theodore Ts'o | 74becf3 | 1997-04-26 14:37:06 +0000 | [diff] [blame] | 128 | cp -r $(srcdir)/README $(srcdir)/install-utils /tmp/dest |
Theodore Ts'o | 6676326 | 1999-07-19 15:52:58 +0000 | [diff] [blame] | 129 | $(RM) -rf /tmp/dest/install-utils/CVS /tmp/dest/install-utils/ChangeLog |
Theodore Ts'o | 74becf3 | 1997-04-26 14:37:06 +0000 | [diff] [blame] | 130 | cp $(srcdir)/INSTALL.@BINARY_TYPE@ /tmp/dest/INSTALL |
Theodore Ts'o | 286a31a | 2000-04-03 13:17:59 +0000 | [diff] [blame] | 131 | (cd /tmp/dest && $(TAR) cf - . ) | gzip -9 \ |
Theodore Ts'o | 74becf3 | 1997-04-26 14:37:06 +0000 | [diff] [blame] | 132 | > e2fsprogs-@E2FSPROGS_VERSION@-@BINARY_TYPE@.tar.gz |
| 133 | |
Theodore Ts'o | 24757fa | 1997-04-29 17:39:27 +0000 | [diff] [blame] | 134 | SRCROOT = `echo e2fsprogs-@E2FSPROGS_VERSION@ | sed -e 's/-WIP//' \ |
Theodore Ts'o | 05e112a | 1997-06-14 07:28:44 +0000 | [diff] [blame] | 135 | -e 's/pre-//' -e 's/-PLUS//'` |
Theodore Ts'o | 74becf3 | 1997-04-26 14:37:06 +0000 | [diff] [blame] | 136 | |
Theodore Ts'o | 94ba8c7 | 2003-03-02 02:07:14 -0500 | [diff] [blame^] | 137 | SSROOT = `echo e2fsprogs-libs-@E2FSPROGS_VERSION@ | sed -e 's/-WIP//' \ |
| 138 | -e 's/pre-//' -e 's/-PLUS//'` |
| 139 | |
Theodore Ts'o | fc6d9d5 | 1997-04-29 14:51:31 +0000 | [diff] [blame] | 140 | $(srcdir)/.exclude-file: |
Theodore Ts'o | bc21007 | 1997-06-17 05:41:36 +0000 | [diff] [blame] | 141 | a=$(SRCROOT); \ |
Theodore Ts'o | 286a31a | 2000-04-03 13:17:59 +0000 | [diff] [blame] | 142 | (cd $(srcdir)/.. && find e2fsprogs \( -name \*~ -o -name \*.orig \ |
Theodore Ts'o | 14790ed | 1999-01-12 23:32:52 +0000 | [diff] [blame] | 143 | -o -name CVS -o -name \*.rej -o -name Makefile.pq \ |
Theodore Ts'o | 990d96a | 2001-06-22 20:47:24 -0400 | [diff] [blame] | 144 | -o -name TAGS -o -name \*.old -o -name \*.gmo -o -name SCCS \ |
Theodore Ts'o | 90f33eb | 2001-05-25 17:18:43 +0000 | [diff] [blame] | 145 | -o -name changed-files -o -name .#\* \) \ |
Theodore Ts'o | 14790ed | 1999-01-12 23:32:52 +0000 | [diff] [blame] | 146 | -print) | sed -e "s/e2fsprogs/$$a/" > $(srcdir)/.exclude-file |
Theodore Ts'o | 990d96a | 2001-06-22 20:47:24 -0400 | [diff] [blame] | 147 | echo "$(SRCROOT)/BitKeeper" >> $(srcdir)/.exclude-file |
Theodore Ts'o | 94ba8c7 | 2003-03-02 02:07:14 -0500 | [diff] [blame^] | 148 | echo "$(SRCROOT)/README.subset" >> $(srcdir)/.exclude-file |
Theodore Ts'o | fc6d9d5 | 1997-04-29 14:51:31 +0000 | [diff] [blame] | 149 | echo "$(SRCROOT)/build" >> $(srcdir)/.exclude-file |
Theodore Ts'o | 21c84b7 | 1997-04-29 16:15:03 +0000 | [diff] [blame] | 150 | echo "$(SRCROOT)/rpm.log" >> $(srcdir)/.exclude-file |
Theodore Ts'o | 90f33eb | 2001-05-25 17:18:43 +0000 | [diff] [blame] | 151 | echo "$(SRCROOT)/TODO" >> $(srcdir)/.exclude-file |
Theodore Ts'o | 7668d9b | 1997-10-20 01:23:07 +0000 | [diff] [blame] | 152 | echo "$(SRCROOT)/powerquest" >> $(srcdir)/.exclude-file |
Theodore Ts'o | fc6d9d5 | 1997-04-29 14:51:31 +0000 | [diff] [blame] | 153 | echo "$(SRCROOT)/.exclude-file" >> $(srcdir)/.exclude-file |
Theodore Ts'o | 1917875 | 2000-02-11 15:55:07 +0000 | [diff] [blame] | 154 | echo "$(SRCROOT)/po/stamp-cat-id" >> $(srcdir)/.exclude-file |
| 155 | echo "$(SRCROOT)/po/cat-id-tbl.c" >> $(srcdir)/.exclude-file |
Theodore Ts'o | fc6d9d5 | 1997-04-29 14:51:31 +0000 | [diff] [blame] | 156 | echo $(SRCROOT)/e2fsprogs-@E2FSPROGS_VERSION@.tar.gz \ |
| 157 | >> $(srcdir)/.exclude-file |
Theodore Ts'o | bf2602b | 1998-03-30 01:11:44 +0000 | [diff] [blame] | 158 | |
Theodore Ts'o | 94ba8c7 | 2003-03-02 02:07:14 -0500 | [diff] [blame^] | 159 | $(srcdir)/.exclude-subset: |
| 160 | a=$(SSROOT); \ |
| 161 | (cd $(srcdir)/.. && find e2fsprogs \( -name \*~ -o -name \*.orig \ |
| 162 | -o -name CVS -o -name \*.rej -o -name Makefile.pq \ |
| 163 | -o -name TAGS -o -name \*.old -o -name \*.gmo -o -name SCCS \ |
| 164 | -o -name changed-files -o -name .#\* \) \ |
| 165 | -print) | sed -e "s/e2fsprogs/$$a/" > $(srcdir)/.exclude-subset |
| 166 | echo "$(SSROOT)/BitKeeper" >> $(srcdir)/.exclude-subset |
| 167 | echo "$(SSROOT)/build" >> $(srcdir)/.exclude-subset |
| 168 | echo "$(SSROOT)/rpm.log" >> $(srcdir)/.exclude-subset |
| 169 | echo "$(SSROOT)/TODO" >> $(srcdir)/.exclude-subset |
| 170 | echo "$(SSROOT)/powerquest" >> $(srcdir)/.exclude-subset |
| 171 | echo "$(SSROOT)/.exclude-subset" >> $(srcdir)/.exclude-subset |
| 172 | echo "$(SSROOT)/po/stamp-cat-id" >> $(srcdir)/.exclude-subset |
| 173 | echo "$(SSROOT)/po/cat-id-tbl.c" >> $(srcdir)/.exclude-subset |
| 174 | echo $(SSROOT)/e2fsprogs-@E2FSPROGS_VERSION@.tar.gz \ |
| 175 | >> $(srcdir)/.exclude-subset |
| 176 | echo "$(SSROOT)/e2fsck" >> $(srcdir)/.exclude-subset |
| 177 | echo "$(SSROOT)/ext2ed" >> $(srcdir)/.exclude-subset |
| 178 | echo "$(SSROOT)/debugfs" >> $(srcdir)/.exclude-subset |
| 179 | echo "$(SSROOT)/misc" >> $(srcdir)/.exclude-subset |
| 180 | echo "$(SSROOT)/tests" >> $(srcdir)/.exclude-subset |
| 181 | echo "$(SSROOT)/resize" >> $(srcdir)/.exclude-subset |
| 182 | echo "$(SSROOT)/doc" >> $(srcdir)/.exclude-subset |
| 183 | echo "$(SSROOT)/contrib" >> $(srcdir)/.exclude-subset |
| 184 | echo "$(SSROOT)/po" >> $(srcdir)/.exclude-subset |
| 185 | echo "$(SSROOT)/include" >> $(srcdir)/.exclude-subset |
| 186 | echo "$(SSROOT)/debian" >> $(srcdir)/.exclude-subset |
| 187 | echo "$(SSROOT)/lib/e2p" >> $(srcdir)/.exclude-subset |
| 188 | echo "$(SSROOT)/lib/evms" >> $(srcdir)/.exclude-subset |
| 189 | echo "$(SSROOT)/lib/ext2fs" >> $(srcdir)/.exclude-subset |
| 190 | echo "$(SSROOT)/ABOUT-NLS" >> $(srcdir)/.exclude-subset |
| 191 | echo "$(SSROOT)/README" >> $(srcdir)/.exclude-subset |
| 192 | echo "$(SSROOT)/INSTALL" >> $(srcdir)/.exclude-subset |
| 193 | echo "$(SSROOT)/INSTALL.dllbin" >> $(srcdir)/.exclude-subset |
| 194 | echo "$(SSROOT)/INSTALL.elfbin" >> $(srcdir)/.exclude-subset |
| 195 | echo "$(SSROOT)/RELEASE-NOTES" >> $(srcdir)/.exclude-subset |
| 196 | echo "$(SSROOT)/e2fsprogs.lsm" >> $(srcdir)/.exclude-subset |
| 197 | echo "$(SSROOT)/e2fsprogs.spec" >> $(srcdir)/.exclude-subset |
| 198 | |
Theodore Ts'o | fc6d9d5 | 1997-04-29 14:51:31 +0000 | [diff] [blame] | 199 | source_tar_file: $(srcdir)/.exclude-file |
Theodore Ts'o | 286a31a | 2000-04-03 13:17:59 +0000 | [diff] [blame] | 200 | cd $(srcdir)/.. && a=$(SRCROOT); rm -f $$a ; ln -sf e2fsprogs $$a ; \ |
Theodore Ts'o | 9559ea3 | 1997-05-09 02:43:38 +0000 | [diff] [blame] | 201 | $(TAR) -c -h -v -f - \ |
| 202 | -X $$a/.exclude-file $$a | \ |
Theodore Ts'o | 286a31a | 2000-04-03 13:17:59 +0000 | [diff] [blame] | 203 | gzip -9 > e2fsprogs-@E2FSPROGS_VERSION@.tar.gz |
Theodore Ts'o | fc6d9d5 | 1997-04-29 14:51:31 +0000 | [diff] [blame] | 204 | rm -f $(srcdir)/.exclude-file |
Theodore Ts'o | 94ba8c7 | 2003-03-02 02:07:14 -0500 | [diff] [blame^] | 205 | |
| 206 | subset_tar_file: $(srcdir)/.exclude-subset |
| 207 | cd $(srcdir)/.. && a=$(SSROOT); rm -f $$a ; ln -sf e2fsprogs $$a ; \ |
| 208 | $(TAR) -c -h -v -f - \ |
| 209 | -X $$a/.exclude-subset $$a | \ |
| 210 | gzip -9 > e2fsprogs-libs-@E2FSPROGS_VERSION@.tar.gz |
| 211 | rm -f $(srcdir)/.exclude-file $(srcdir)/.exclude-subset |
| 212 | |
| 213 | |