We no longer have any python scripts in our scripts/ directory so
we can simplify the makefile a bit.

Signed-off-by: Allan McRae <[email protected]>
---
 scripts/Makefile.am |   13 +++++--------
 1 files changed, 5 insertions(+), 8 deletions(-)

diff --git a/scripts/Makefile.am b/scripts/Makefile.am
index 1abf9c4..1a9840d 100644
--- a/scripts/Makefile.am
+++ b/scripts/Makefile.am
@@ -29,7 +29,7 @@ LIBRARY = \
        library/parse_options.sh
 
 # Files that should be removed, but which Automake does not know.
-MOSTLYCLEANFILES = $(bin_SCRIPTS) *.tmp
+MOSTLYCLEANFILES = $(bin_SCRIPTS)
 
 if USE_GIT_VERSION
 GIT_VERSION := $(shell sh -c 'git describe --abbrev=4 --dirty | sed s/^v//')
@@ -62,13 +62,10 @@ edit = sed \
 # third 'test' line- make sure one of the two checks succeeded
 $(OURSCRIPTS): Makefile
        @echo '    ' GEN $@;
-       @rm -f $@ [email protected]
-       @test -f $(srcdir)/[email protected] && m4 -P -I $(srcdir) $(srcdir)/[email protected] | 
$(edit) >[email protected] || true
-       @test -f $(srcdir)/[email protected] && m4 -P -I $(srcdir) $(srcdir)/[email protected] | 
$(edit) >[email protected] || true
-       @test -f [email protected] || false
-       @chmod +x [email protected]
-       @chmod a-w [email protected]
-       @mv [email protected] $@
+       @rm -f $@
+       @test -f $(srcdir)/[email protected] && m4 -P -I $(srcdir) $(srcdir)/[email protected] | 
$(edit) >$@
+       @chmod +x $@
+       @chmod a-w $@
 
 makepkg: \
        $(srcdir)/makepkg.sh.in \
-- 
1.7.5.4


Reply via email to