Commit 75eef350 authored by jhugues's avatar jhugues
Browse files

* Correct makefile to work on external build directory

git-svn-id: https://tecsw.estec.esa.int/svn/taste/trunk/po-hi-c@6262 129961e7-ef38-4bb5-a8f7-c9a525a55882
parent d2da7b33
......@@ -141,12 +141,12 @@ install-data-local: all
$(INSTALL) -d $(DESTDIR)$(po_hi_doc_dir)
$(INSTALL) -d $(DESTDIR)$(po_hi_doc_dir)/$(GUIDE).html
$(INSTALL) -d $(DESTDIR)$(po_hi_doc_dir)/$(GUIDE).html/fig
if [ -r $(GUIDE).pdf ]; then \
$(INSTALL_DATA) $(GUIDE).pdf $(DESTDIR)$(po_hi_doc_dir); \
for f in $(GUIDE).html/*.html; do \
if [ -r $(builddir)/$(GUIDE).pdf ]; then \
$(INSTALL_DATA) $(builddir)/$(GUIDE).pdf $(DESTDIR)$(po_hi_doc_dir); \
for f in $(builddir)/$(GUIDE).html/*.html; do \
$(INSTALL_DATA) $$f $(DESTDIR)$(po_hi_doc_dir)/$(GUIDE).html; \
done; \
for f in $(GUIDE).html/fig/*.png; do \
for f in $(builddir)/$(GUIDE).html/fig/*.png; do \
$(INSTALL_DATA) $$f $(DESTDIR)$(po_hi_doc_dir)/$(GUIDE).html/fig; \
done; \
else \
......@@ -242,7 +242,7 @@ aadl.sed-stamp:
touch aadl.sed-stamp
dist-hook: all
cp -r $(srcdir)/$(GUIDE).html $(srcdir)/$(GUIDE).pdf $(distdir)
cp -r $(builddir)/$(GUIDE).html $(builddir)/$(GUIDE).pdf $(distdir)
debug-makefile:
@echo "C_CODE = $(C_CODE)"
......
Markdown is supported
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