Commit 834c6002 authored by sebastien's avatar sebastien
Browse files

Build system: fix for Dynare++ with ctangle/cweb and dummy changelog issue


git-svn-id: https://www.dynare.org/svn/dynare/trunk@3005 ac1d8469-bf42-47a9-8791-bf33cf982152
parent e173e948
......@@ -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
......@@ -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
......@@ -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
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment