summaryrefslogtreecommitdiff
path: root/dselect
diff options
context:
space:
mode:
authorGuillem Jover <guillem@debian.org>2015-04-23 18:38:33 +0200
committerGuillem Jover <guillem@debian.org>2015-05-09 05:16:29 +0200
commit4436eea426184745c8d882f43ab2bee150d2d4a9 (patch)
tree2d291b53bfefd535e3f5eafd3092531055b7727d /dselect
parent454137cb3972d3365ee9b0e71cd97f32219e25be (diff)
downloaddpkg-4436eea426184745c8d882f43ab2bee150d2d4a9.tar.gz
build: Use single suffix rules instead of non-portable %-pattern rules
Diffstat (limited to 'dselect')
-rw-r--r--dselect/methods/Makefile.am4
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 $@