Added workaround for annoying gettextize behaviour
[pspp-builds.git] / Smake
diff --git a/Smake b/Smake
index d474bc07906de445cad41ad51d52c11306b30130..eae10349e95931c1f01a6450ee6157bf0ceec484 100644 (file)
--- a/Smake
+++ b/Smake
@@ -11,27 +11,18 @@ aclocal.m4:
        aclocal -I m4
 
 
-install-sh Makefile.in: intl Makefile.am aclocal.m4 config.h.in
+install-sh Makefile.in: intl Makefile.am aclocal.m4 config.h.in ABOUT-NLS
        automake --add-missing
 
 po/Makefile.in.in intl ABOUT-NLS:
-       touch -f Makefile.am Makefile.am-stamp
-       touch -f configure.ac configure.ac-stamp
-       cp -a configure.ac configure.ac-bak
-       cp -a Makefile.am Makefile.am-bak
-       gettextize -f -c --no-changelog --intl
-       cp -a Makefile.am-bak Makefile.am
-       touch -f Makefile.am-stamp Makefile.am
-       cp -a configure.ac-bak configure.ac
-       touch -f configure.ac-stamp configure.ac
-       $(RM) configure.ac-bak configure.ac-stamp
-       $(RM) Makefile.am-bak Makefile.am-stamp
+       ./gettextize -f -c --no-changelog --intl
 
 
 
 .PHONY: clean
 clean:
        $(RM) config.sub config.guess
+       $(RM) ABOUT-NLS
        $(RM) -r autom4te.cache
        $(RM) aclocal.m4
        $(RM) missing mkinstalldirs