File: Makefile.am

package info (click to toggle)
log4cpp 1.1.3-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, buster, sid
  • size: 4,196 kB
  • sloc: sh: 10,465; cpp: 6,695; ansic: 1,049; makefile: 288
file content (45 lines) | stat: -rw-r--r-- 1,099 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
SUBDIRS = html

man3dir = $(mandir)/man3
docdir  = $(prefix)/share/doc/@PACKAGE_TARNAME@-@PACKAGE_VERSION@

EXTRA_DIST = \
	mainPage.txt

.PHONY: dox pdf

all-local: dox #pdf

dox: html html/api/index.html
html/api/index.html: Doxyfile
	@DOXYGEN@

pdf: @PACKAGE_TARNAME@.pdf
@PACKAGE@.pdf:
	$(MAKE) -C ./latex pdf
	ln -s ./latex/refman.ps	 @PACKAGE_TARNAME@.ps
	ln -s ./latex/refman.pdf @PACKAGE_TARNAME@.pdf


install-data-local:
	$(mkinstalldirs) $(DESTDIR)/$(man3dir)
	@for i in ./man/man3/log4cpp.3 ./man/man3/log4cpp_*.3; do \
		inst=`basename $$i | sed 's/_/::/g'`; \
		echo "$(INSTALL_DATA) $$i$(man3dir)/$$inst"; \
		$(INSTALL_DATA) $$i $(DESTDIR)/$(man3dir)/$$inst; \
	done
	$(mkinstalldirs) $(DESTDIR)/$(docdir)
	cp -r html/. $(DESTDIR)/$(docdir)
	$(RM) -r -f $(DESTDIR)/$(docdir)/CVS \
		$(DESTDIR)/$(docdir)/Makefile.am \
		$(DESTDIR)/$(docdir)/Makefile.in \
		$(DESTDIR)/$(docdir)/Makefile

uninstall-local:
	$(RM) $(man3dir)/log4cpp.3
	$(RM) $(man3dir)/log4cpp::*.3
	$(RM) -r -f $(docdir)

clean-local:
	$(RM) -r latex
	$(RM) -r html/api man @PACKAGE_TARNAME@.ps @PACKAGE_TARNAME@.pdf