diff options
Diffstat (limited to 'contrib')
-rw-r--r-- | contrib/Makefile.am | 15 |
1 files changed, 14 insertions, 1 deletions
diff --git a/contrib/Makefile.am b/contrib/Makefile.am index 07cff424c..ac8b15188 100644 --- a/contrib/Makefile.am +++ b/contrib/Makefile.am | |||
@@ -70,7 +70,20 @@ CLEANFILES = \ | |||
70 | 70 | ||
71 | do_subst = $(SED) -e 's,[@]PYTHON[@],$(PYTHON),g' | 71 | do_subst = $(SED) -e 's,[@]PYTHON[@],$(PYTHON),g' |
72 | 72 | ||
73 | %.py: %.py.in Makefile | 73 | # Use SUFFIX Extension rules, they are more portable for every |
74 | # implementation of 'make'. | ||
75 | # You'll also run into the "'%' is a GNU make extension warning" | ||
76 | # if you use this: | ||
77 | # | ||
78 | #%.py: %.py.in Makefile | ||
79 | # $(do_subst) < $< > $@ | ||
80 | # chmod +x $@ | ||
81 | # | ||
82 | # instead of this: | ||
83 | |||
84 | SUFFIXES = .py.in .py | ||
85 | |||
86 | .py.in.py: | ||
74 | $(do_subst) < $< > $@ | 87 | $(do_subst) < $< > $@ |
75 | chmod +x $@ | 88 | chmod +x $@ |
76 | 89 | ||