Skip to content

Commit 92ce423

Browse files
committed
Set automake variable before loading macros so it can be appended
1 parent b981fdd commit 92ce423

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Makefile.am

+2-2
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,8 @@ EXTRA_DIST += t/000-tear-env.t t/001-setup-env.t t/100-init.t t/300-add.t t/950-
2424
BUILT_SOURCES =
2525
CLEANFILES = $(dist_man_MANS) $(bin_SCRIPTS)
2626

27+
DISTCLEANFILES = @AMINCLUDE@
28+
2729
# A classical use of the autoconf-archive include macro would expand
2830
# INC_AMINCLUDE here, but the perl script that inlines include statements
2931
# runs before the automake that organizes logic and performs substitution.
@@ -33,8 +35,6 @@ CLEANFILES = $(dist_man_MANS) $(bin_SCRIPTS)
3335
# functionality and hence can use conditionals in included makefile fragments.
3436
include $(top_srcdir)/aminclude.am
3537

36-
DISTCLEANFILES = @AMINCLUDE@
37-
3838
if !SOURCE_IS_DIST
3939

4040
doc/vcsh.1: doc/vcsh.1.ronn

0 commit comments

Comments
 (0)