Whamcloud - gitweb
po: update fr.po (from translationproject.org)
[tools/e2fsprogs.git] / Makefile.in
index 88d6c3a..0f7aba3 100644 (file)
@@ -29,6 +29,12 @@ subs:
 progs: subs all-progs-recursive
 libs: subs all-libs-recursive
 
+e2fsprogs.spec: $(DEP_SUBSTITUTE) e2fsprogs.spec.in
+       cd $(top_builddir); CONFIG_FILES=./e2fsprogs.spec ./config.status
+
+rpm: e2fsprogs.spec
+       sh contrib/build-rpm
+
 docs:
        -@test -d doc && cd doc && $(MAKE) libext2fs.info
 
@@ -68,7 +74,7 @@ TAGS clean-recursive distclean-recursive depend-recursive check-recursive \
        done
 
 all-progs-recursive install-progs-recursive install-strip-progs-recursive \
-  uninstall-progs-recursive:
+  uninstall-progs-recursive: all-libs-recursive
        @for subdir in $(PROG_SUBDIRS); do \
          if test -d $$subdir ; then \
            target=`echo $@|$(SED) 's/-progs-recursive//'`; \
@@ -93,8 +99,9 @@ mostlyclean: mostlyclean-recursive mostlyclean-local
 clean: clean-recursive clean-local clean-doc
        $(RM) -f $(SUBS) 
 
-distclean: distclean-doc distclean-recursive distclean-local 
+distclean: distclean-doc distclean-recursive
        $(RM) -rf autom4te.cache e2fsprogs.spec ext2ed/Makefile po/stamp-po
+       $(MAKE) distclean-local 
 
 realclean: realclean-recursive realclean-local