summaryrefslogtreecommitdiff
path: root/bin/Makefile.inc
diff options
context:
space:
mode:
Diffstat (limited to 'bin/Makefile.inc')
-rw-r--r--bin/Makefile.inc15
1 files changed, 13 insertions, 2 deletions
diff --git a/bin/Makefile.inc b/bin/Makefile.inc
index 69a744d87..62dd483d9 100644
--- a/bin/Makefile.inc
+++ b/bin/Makefile.inc
@@ -18,12 +18,15 @@
## ----------------------------------- ##
bin_SCRIPTS = %D%/automake %D%/aclocal
-CLEANFILES += $(bin_SCRIPTS)
-
nodist_noinst_SCRIPTS += \
%D%/aclocal-$(APIVERSION) \
%D%/automake-$(APIVERSION)
+CLEANFILES += \
+ $(bin_SCRIPTS) \
+ %D%/aclocal-$(APIVERSION) \
+ %D%/automake-$(APIVERSION)
+
# Used by maintainer checks and such.
automake_in = $(srcdir)/%D%/automake.in
aclocal_in = $(srcdir)/%D%/aclocal.in
@@ -72,4 +75,12 @@ uninstall-hook:
&& chmod a+x,a-w $@-t && mv -f $@-t $@
EXTRA_DIST += %D%/gen-perl-protos
+%D%/aclocal-$(APIVERSION): %D%/aclocal
+ $(AM_V_GEN) rm -f $@; \
+ $(LN) %D%/aclocal $@
+
+%D%/automake-$(APIVERSION): %D%/automake
+ $(AM_V_GEN) rm -f $@; \
+ $(LN) %D%/automake $@
+
# vim: ft=automake noet