diff --git a/dynare++/integ/cc/Makefile.am b/dynare++/integ/cc/Makefile.am index c10d8ecb1..148ebfb90 100644 --- a/dynare++/integ/cc/Makefile.am +++ b/dynare++/integ/cc/Makefile.am @@ -30,17 +30,12 @@ libinteg_a_CXXFLAGS = $(PTHREAD_CFLAGS) BUILT_SOURCES = $(GENERATED_FILES) -EXTRA_DIST = main.web +EXTRA_DIST = main.web dummy.ch -dummy.ch: - touch dummy.ch - -# Don't depend on dummy.ch in the following rules, otherwise make will want to rebuild from CWEB even in a tarball, since dummy.ch has a recent timestamp - -%.cpp: %.cweb +%.cpp: %.cweb dummy.ch $(CTANGLE) -bhp $< dummy.ch $@ -%.h: %.hweb +%.h: %.hweb dummy.ch $(CTANGLE) -bhp $< dummy.ch $@ if HAVE_CWEAVE @@ -56,4 +51,4 @@ endif endif endif -CLEANFILES = dummy.ch integ.pdf main.idx main.log main.scn main.tex main.toc +CLEANFILES = integ.pdf main.idx main.log main.scn main.tex main.toc diff --git a/dynare++/integ/cc/dummy.ch b/dynare++/integ/cc/dummy.ch new file mode 100644 index 000000000..e69de29bb diff --git a/dynare++/kord/Makefile.am b/dynare++/kord/Makefile.am index cd9102598..1bf854415 100644 --- a/dynare++/kord/Makefile.am +++ b/dynare++/kord/Makefile.am @@ -58,7 +58,7 @@ libkord_a_CXXFLAGS = $(PTHREAD_CFLAGS) BUILT_SOURCES = $(GENERATED_FILES) -EXTRA_DIST = main.web +EXTRA_DIST = main.web dummy.ch check_PROGRAMS = tests @@ -70,15 +70,10 @@ tests_LDADD = libkord.a ../tl/cc/libtl.a ../sylv/cc/libsylv.a $(LAPACK_LIBS) $(B check-local: ./tests -dummy.ch: - touch dummy.ch - -# Don't depend on dummy.ch in the following rules, otherwise make will want to rebuild from CWEB even in a tarball, since dummy.ch has a recent timestamp - -%.cpp: %.cweb +%.cpp: %.cweb dummy.ch $(CTANGLE) -bhp $< dummy.ch $@ -%.h: %.hweb +%.h: %.hweb dummy.ch $(CTANGLE) -bhp $< dummy.ch $@ if HAVE_CWEAVE @@ -94,4 +89,4 @@ endif endif endif -CLEANFILES = dummy.ch kord.pdf main.idx main.log main.scn main.tex main.toc out.txt +CLEANFILES = kord.pdf main.idx main.log main.scn main.tex main.toc out.txt diff --git a/dynare++/kord/dummy.ch b/dynare++/kord/dummy.ch new file mode 100644 index 000000000..e69de29bb diff --git a/dynare++/tl/cc/Makefile.am b/dynare++/tl/cc/Makefile.am index 102b20517..b0f902b6f 100644 --- a/dynare++/tl/cc/Makefile.am +++ b/dynare++/tl/cc/Makefile.am @@ -96,17 +96,12 @@ libtl_a_CXXFLAGS = $(PTHREAD_CFLAGS) BUILT_SOURCES = $(GENERATED_FILES) -EXTRA_DIST = main.web +EXTRA_DIST = main.web dummy.ch -dummy.ch: - touch dummy.ch - -# Don't depend on dummy.ch in the following rules, otherwise make will want to rebuild from CWEB even in a tarball, since dummy.ch has a recent timestamp - -%.cpp: %.cweb +%.cpp: %.cweb dummy.ch $(CTANGLE) -bhp $< dummy.ch $@ -%.h: %.hweb +%.h: %.hweb dummy.ch $(CTANGLE) -bhp $< dummy.ch $@ if HAVE_CWEAVE @@ -122,4 +117,4 @@ endif endif endif -CLEANFILES = dummy.ch tl.pdf main.idx main.log main.scn main.tex main.toc +CLEANFILES = tl.pdf main.idx main.log main.scn main.tex main.toc diff --git a/dynare++/tl/cc/dummy.ch b/dynare++/tl/cc/dummy.ch new file mode 100644 index 000000000..e69de29bb