* Add require 'khtml' statements
[kdebindings.git] / kalyptus / Makefile.in
blob86061207a7146ab1b45d925293202d7f53263775
1 prefix = @prefix@
2 exec_prefix = @exec_prefix@
3 perl = @perl@
4 install = @INSTALL@
5 bin = kalyptus
6 pm = kdocUtil.pm kdocAstUtil.pm kdocParseDoc.pm kdocLib.pm \
7 Ast.pm kalyptusDataDict.pm kalyptusCxxToC.pm \
8 kalyptusCxxToObjc.pm kalyptusCxxToJava.pm \
9 kalyptusCxxToSmoke.pm kalyptusCxxToCSharp.pm \
10 Iter.pm
11 pmextra =
12 bindir = ${exec_prefix}/bin
13 pmdir = ${prefix}/share/kalyptus
14 srcdocdir= .
15 VERSION=@Version@
17 all: kalyptus.local
19 kalyptus.local: @srcdir@/kalyptus
20 cp @srcdir@/kalyptus kalyptus.local
21 perl -npi -e 's%^#\!.*$$%#!'${perl}' -I'${pmdir}'%g;' kalyptus.local
22 perl -npi -e 's#\$$Version\\\$$#'"${VERSION}"'#g;' kalyptus.local
24 install: all
25 ${install} -d $(DESTDIR)${bindir}
26 ${install} -m 755 kalyptus.local $(DESTDIR)${bindir}/kalyptus
27 ${install} -d $(DESTDIR)${pmdir}
28 for file in ${pm} ${pmextra}; do \
29 ${install} -m 644 @srcdir@/$$file $(DESTDIR)${pmdir}; \
30 done
32 uninstall:
33 (cd $(DESTDIR)${bindir} && rm -f ${bin})
34 (cd $(DESTDIR)${pmdir} && rm -f ${pm})
35 -rmdir $(DESTDIR)${bindir}
36 -rmdir $(DESTDIR)${pmdir}
38 clean:
39 rm -f kalyptus.local
41 distclean: clean
42 rm -f Makefile config.status config.log config.cache perlbin
44 srcdoc:
45 pod2html --flush --title KALYPTUS $(bin) $(pm) \
46 --outfile $(srcdocdir)/kalyptus-doc.html
47 tags:
48 perltags kalyptus *.pm
50 check:
51 @for dir in $(bin) $(pm); do \
52 echo "** Checking: $$dir"; \
53 perl -wc $$dir; done