diff options
author | Guillem Jover <guillem@debian.org> | 2015-04-23 18:38:33 +0200 |
---|---|---|
committer | Guillem Jover <guillem@debian.org> | 2015-05-09 05:16:29 +0200 |
commit | 4436eea426184745c8d882f43ab2bee150d2d4a9 (patch) | |
tree | 2d291b53bfefd535e3f5eafd3092531055b7727d /dselect | |
parent | 454137cb3972d3365ee9b0e71cd97f32219e25be (diff) | |
download | dpkg-4436eea426184745c8d882f43ab2bee150d2d4a9.tar.gz |
build: Use single suffix rules instead of non-portable %-pattern rules
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 $@ |