Smake clean target removed po/ChangeLog and po/Makefile.in (both are in git)
authorFriedrich Beckmann <friedrich.beckmann@gmx.de>
Sun, 29 Nov 2015 12:23:56 +0000 (13:23 +0100)
committerFriedrich Beckmann <friedrich.beckmann@gmx.de>
Sun, 29 Nov 2015 12:29:25 +0000 (13:29 +0100)
make -f Smake clean

removed po/ChangeLog and po/Makefile.in which are under git control. This
fix leaves those two files untouched. Without the fix, the make -f Smake
step after a clean ends with an error because po/Makefile.in is missing.

Smake

diff --git a/Smake b/Smake
index a989f2d078a68402e8111befb01aba764c8903c4..0314c9b7cd063be9bd53686df0c215e076a7f3e9 100644 (file)
--- a/Smake
+++ b/Smake
@@ -380,8 +380,7 @@ _debug: all
 
 
 
-PO_FILES = po/ChangeLog \
-po/Rules-quot po/boldquot.sed          \
+PO_FILES = po/Rules-quot po/boldquot.sed \
 po/cat-id-tbl.c po/en@boldquot.header po/en@quot.header                        \
 po/insert-header.sin po/quot.sed po/remove-potcdate.sin po/stamp-po    \
 po/Makevars.template po/pspp.pot
@@ -401,7 +400,8 @@ clean:
        rm -f doc/stamp-vti
        rm -f config.h.in~
        rm -f config.h.in
-       find . -name Makefile.in -exec rm -f {} \; 
+       rm -f gl/Makefile.in
+       rm -f Makefile.in
        rm -f compile
        rm -f ltmain.sh
        rm -f reloc-ldflags install-reloc