diff options
Diffstat (limited to 'dselect')
-rw-r--r-- | dselect/methods/Makefile.am | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/dselect/methods/Makefile.am b/dselect/methods/Makefile.am index 3272115eb..b519c0692 100644 --- a/dselect/methods/Makefile.am +++ b/dselect/methods/Makefile.am @@ -51,7 +51,9 @@ CLEANFILES = \ do_perl_subst = $(AM_V_GEN) \ sed -e "s:^\#![[:space:]]*/usr/bin/perl:\#!$(PERL):" -%: %.pl Makefile +SUFFIXES = .pl + +.pl: Makefile @test -d `dirname $@` || $(MKDIR_P) `dirname $@` $(do_perl_subst) <$< >$@ $(AM_V_at) chmod +x $@ |