projects
/
iserv-mod-room-reservation.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
a75ff03
)
Makefile creates Doxyfile by its own
author
Roland Hieber
<devnull@localhost>
Thu, 22 Oct 2009 21:22:15 +0000
(23:22 +0200)
committer
Roland Hieber
<devnull@localhost>
Thu, 22 Oct 2009 21:22:15 +0000
(23:22 +0200)
Makefile
patch
|
blob
|
history
diff --git
a/Makefile
b/Makefile
index
75748b9
..
cb25947
100644
(file)
--- a/
Makefile
+++ b/
Makefile
@@
-24,6
+24,9
@@
# THE SOFTWARE.
#
# THE SOFTWARE.
#
+PACKAGENAME:=iserv-mod-room-reservation
+VERSION:=$(shell grep "^$(PACKAGENAME)" debian/changelog | head -1 | sed -e "s/$(PACKAGENAME) (\([0-9.]\+\).*).*/\1/ ")
+
SHELL=/bin/bash
DESTDIR?=
LN=ln -f
SHELL=/bin/bash
DESTDIR?=
LN=ln -f
@@
-86,6
+89,8
@@
endif
# build doxygen documentation from source
sourcedoc:
# build doxygen documentation from source
sourcedoc:
+ cat Doxyfile.in | sed -e "s/{{{VERSION}}}/$(VERSION)/" \
+ -e "s/{{{PACKAGENAME}}}/$(PACKAGENAME)/" > Doxyfile
doxygen
mv doc/source/html/* doc/source/ && rm -rf doc/source/html
doxygen
mv doc/source/html/* doc/source/ && rm -rf doc/source/html
@@
-123,6
+128,7
@@
uninstall:
# clean up
clean: distclean
# clean up
clean: distclean
+ rm Doxyfile
distclean:
$(RM) doc/source
distclean:
$(RM) doc/source
This page took
0.025642 seconds
and
4
git commands to generate.