Makefile.in 1.12 KB
Newer Older
1
#
2
# 
3
#
Dimitri van Heesch's avatar
Dimitri van Heesch committed
4
# Copyright (C) 1997-2013 by Dimitri van Heesch.
5 6 7 8 9 10 11 12
# 
# Permission to use, copy, modify, and distribute this software and its
# documentation under the terms of the GNU General Public License is hereby 
# granted. No representations are made about the suitability of this software 
# for any purpose. It is provided "as is" without express or implied warranty.
# See the GNU General Public License for more details.
# 

13
QMAKE=qmake $(MKSPECS)
14

15 16
all: Makefile.doxywizard  
	$(MAKE) -f Makefile.doxywizard 
17

18
Makefile.doxywizard: doxywizard.pro
19
	$(QMAKE) doxywizard.pro -o Makefile.doxywizard
20

21
qmake: 
22
	$(QMAKE) doxywizard.pro -o Makefile.doxywizard
23 24 25 26

clean: Makefile.doxywizard 
	$(MAKE) -f Makefile.doxywizard clean 

27 28 29
distclean: Makefile.doxywizard
	$(MAKE) -f Makefile.doxywizard distclean 
	$(RM) Makefile.doxywizard
30

31 32 33
install:
	$(INSTTOOL) -d $(INSTALL)/bin	
	$(INSTTOOL) -m 755 ../../bin/doxywizard $(INSTALL)/bin	
34 35 36 37
	$(INSTTOOL) -d $(INSTALL)/$(MAN1DIR)
	cat ../../doc/doxywizard.1 | sed -e "s/DATE/$(DATE)/g" -e "s/VERSION/$(VERSION)/g" > doxywizard.1
	$(INSTTOOL) -m 644 doxywizard.1 $(INSTALL)/$(MAN1DIR)/doxywizard.1
	rm doxywizard.1
38 39

FORCE: