-2000-04-02 Theodore Ts'o <tytso@valinux.com>
+2000-04-03 Theodore Ts'o <tytso@valinux.com>
+
+ * Makefile.in: Remove uneeded parenthesis around shell pipelines
+ containing a "cd" command. Use && instead of ; so that if
+ the "cd" fails, the makefile stops.
* MCONFIG.in (CPPFLAGS): Add define of CPPFLAGS from @CPPFLAGS@.
Remove uneeded parenthesis around shell pipelines
libs: $(SUBS) all-libs-recursive
docs:
- (cd doc && make libext2fs.info)
+ cd doc && make libext2fs.info
install-doc-libs:
- (cd doc && make install-doc-libs)
+ cd doc && make install-doc-libs
uninstall-doc-libs:
- (cd doc && make uninstall-doc-libs)
+ cd doc && make uninstall-doc-libs
clean-doc:
- (cd doc && make clean)
+ cd doc && make clean
distclean-doc:
- (cd doc && make distclean)
+ cd doc && make distclean
install: all-libs-recursive install-progs-recursive \
install-shlibs-libs-recursive install-doc-libs
-# (export MANPATH=$(DESTDIR)$(mandir); $(srcdir)/install-utils/compile_manpages)
+# export MANPATH=$(DESTDIR)$(mandir); $(srcdir)/install-utils/compile_manpages
uninstall: uninstall-progs-recursive uninstall-shlibs-libs-recursive uninstall-doc-libs
$(RM) -f configure
check:
- (cd tests; make check)
+ cd tests && make check
distribution_tar_file:
$(RM) -rf /tmp/dest
make DESTDIR=/tmp/dest install
- cd ..
cp -r $(srcdir)/README $(srcdir)/install-utils /tmp/dest
$(RM) -rf /tmp/dest/install-utils/CVS /tmp/dest/install-utils/ChangeLog
cp $(srcdir)/INSTALL.@BINARY_TYPE@ /tmp/dest/INSTALL
- (cd /tmp/dest; $(TAR) cf - . ) | gzip -9 \
+ (cd /tmp/dest && $(TAR) cf - . ) | gzip -9 \
> e2fsprogs-@E2FSPROGS_VERSION@-@BINARY_TYPE@.tar.gz
SRCROOT = `echo e2fsprogs-@E2FSPROGS_VERSION@ | sed -e 's/-WIP//' \
$(srcdir)/.exclude-file:
a=$(SRCROOT); \
- (cd $(srcdir)/.. ; find e2fsprogs \( -name \*~ -o -name \*.orig \
+ (cd $(srcdir)/.. && find e2fsprogs \( -name \*~ -o -name \*.orig \
-o -name CVS -o -name \*.rej -o -name Makefile.pq \
-o -name TAGS -o -name \*.old -o -name \*.gmo \
-o -name TODO -o -name changed-files -o -name .#\* \) \
>> $(srcdir)/.exclude-file
source_tar_file: $(srcdir)/.exclude-file
- (cd $(srcdir)/..; a=$(SRCROOT); rm -f $$a ; ln -sf e2fsprogs $$a ; \
+ cd $(srcdir)/.. && a=$(SRCROOT); rm -f $$a ; ln -sf e2fsprogs $$a ; \
$(TAR) -c -h -v -f - \
-X $$a/.exclude-file $$a | \
- gzip -9 > e2fsprogs-@E2FSPROGS_VERSION@.tar.gz)
+ gzip -9 > e2fsprogs-@E2FSPROGS_VERSION@.tar.gz
rm -f $(srcdir)/.exclude-file