unfwd: Just ship it as a script.
authorMark Wooding <mdw@distorted.org.uk>
Mon, 2 May 2016 12:24:53 +0000 (13:24 +0100)
committerMark Wooding <mdw@distorted.org.uk>
Tue, 3 May 2016 08:50:05 +0000 (09:50 +0100)
Makefile.am
unfwd [moved from unfwd.in with 100% similarity, mode: 0755]

index 36153b0..4a115fc 100644 (file)
@@ -270,15 +270,9 @@ shadowfix.8: shadowfix.in
        $(AM_V_GEN)pod2man --section 8 $(srcdir)/shadowfix.in >$@.new && \
                mv $@.new $@
 
-bin_SCRIPTS            += unfwd
-CLEANFILES             += unfwd
-EXTRA_DIST             += unfwd.in
+dist_bin_SCRIPTS       += unfwd
 dist_man_MANS          += unfwd.1
 
-unfwd: unfwd.in Makefile
-       $(SUBST) $(srcdir)/unfwd.in >$@.new $(SUBSTITUTIONS) && \
-               chmod +x $@.new && mv $@.new $@
-
 endif
 
 ## Perl modules.
diff --git a/unfwd.in b/unfwd
old mode 100644 (file)
new mode 100755 (executable)
similarity index 100%
rename from unfwd.in
rename to unfwd