diff options
author | ng0 <ng0@infotropique.org> | 2017-10-17 11:53:30 +0000 |
---|---|---|
committer | ng0 <ng0@infotropique.org> | 2017-10-17 11:53:30 +0000 |
commit | 4a3f7e1ce17b5109e713cdbb37ad85a8852d4723 (patch) | |
tree | 371b4f20cc5e07de6ca75c381ee7ebbdcea831cd /contrib | |
parent | 6b2f72df1c7b7317c1c8c52efd74f40c9d30c28a (diff) | |
download | gnunet-4a3f7e1ce17b5109e713cdbb37ad85a8852d4723.tar.gz gnunet-4a3f7e1ce17b5109e713cdbb37ad85a8852d4723.zip |
contrib/Makefile.am: Use more portable Suffixes Extensions.
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 | ||