summaryrefslogtreecommitdiffstats
path: root/Makefile.in
diff options
context:
space:
mode:
authordimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7>2008-10-05 09:07:25 (GMT)
committerdimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7>2008-10-05 09:07:25 (GMT)
commit3102b81d682bf0b3b4dd50148434ab8e575a3d2e (patch)
tree9ff275a866b1660085cb0e638922291f5b2abd36 /Makefile.in
parent631bd3426f23c6a69b8a19156b25387ceba007d4 (diff)
downloadDoxygen-3102b81d682bf0b3b4dd50148434ab8e575a3d2e.zip
Doxygen-3102b81d682bf0b3b4dd50148434ab8e575a3d2e.tar.gz
Doxygen-3102b81d682bf0b3b4dd50148434ab8e575a3d2e.tar.bz2
Release-1.5.7.1
Diffstat (limited to 'Makefile.in')
-rw-r--r--Makefile.in22
1 files changed, 12 insertions, 10 deletions
diff --git a/Makefile.in b/Makefile.in
index 31ea1b3..11e4cbc 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -2,6 +2,8 @@
# cd qtools ; $(MAKE)
# cd src ; $(MAKE)
+DESTDIR =
+
clean: FORCE
cd examples ; $(MAKE) clean
cd doc ; $(MAKE) clean
@@ -53,25 +55,25 @@ DATE=$(shell date "+%B %Y")
MAN1DIR = man/man1
install: doxywizard_install
- $(INSTTOOL) -d $(INSTALL)/bin
- $(INSTTOOL) -m 755 bin/doxygen $(INSTALL)/bin
- $(INSTTOOL) -m 755 bin/doxytag $(INSTALL)/bin
- $(INSTTOOL) -d $(INSTALL)/$(MAN1DIR)
+ $(INSTTOOL) -d $(DESTDIR)/$(INSTALL)/bin
+ $(INSTTOOL) -m 755 bin/doxygen $(DESTDIR)/$(INSTALL)/bin
+ $(INSTTOOL) -m 755 bin/doxytag $(DESTDIR)/$(INSTALL)/bin
+ $(INSTTOOL) -d $(DESTDIR)/$(INSTALL)/$(MAN1DIR)
cat doc/doxygen.1 | sed -e "s/DATE/$(DATE)/g" -e "s/VERSION/$(VERSION)/g" > doxygen.1
- $(INSTTOOL) -m 644 doxygen.1 $(INSTALL)/$(MAN1DIR)/doxygen.1
+ $(INSTTOOL) -m 644 doxygen.1 $(DESTDIR)/$(INSTALL)/$(MAN1DIR)/doxygen.1
rm doxygen.1
cat doc/doxytag.1 | sed -e "s/DATE/$(DATE)/g" -e "s/VERSION/$(VERSION)/g" > doxytag.1
- $(INSTTOOL) -m 644 doxytag.1 $(INSTALL)/$(MAN1DIR)/doxytag.1
+ $(INSTTOOL) -m 644 doxytag.1 $(DESTDIR)/$(INSTALL)/$(MAN1DIR)/doxytag.1
rm doxytag.1
install_docs:
- $(INSTTOOL) -d $(DOCDIR)
+ $(INSTTOOL) -d $(DESTDIR)/$(DOCDIR)
$(MAKE) -C examples
$(MAKE) -C doc
$(MAKE) -C latex
- $(INSTTOOL) -m 644 latex/doxygen_manual.pdf $(DOCDIR)
- cp -r examples $(DOCDIR)
- cp -r html $(DOCDIR)
+ $(INSTTOOL) -m 644 latex/doxygen_manual.pdf $(DESTDIR)/$(DOCDIR)
+ cp -r examples $(DESTDIR)/$(DOCDIR)
+ cp -r html $(DESTDIR)/$(DOCDIR)
docs: FORCE
cd examples ; $(MAKE)