File: Makefile.am

package info (click to toggle)
netmrg 0.20-2.1
  • links: PTS
  • area: main
  • in suites: lenny
  • size: 2,820 kB
  • ctags: 2,009
  • sloc: php: 9,401; sh: 4,597; cpp: 2,898; perl: 621; ansic: 381; makefile: 331; xml: 92; sql: 71; sed: 16
file content (138 lines) | stat: -rw-r--r-- 5,373 bytes parent folder | download | duplicates (4)
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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
@SET_MAKE@

include $(top_srcdir)/Make.inc

SUBDIRS	= m4 po src www etc var .

ACLOCAL_AMFLAGS = -I m4

EXTRA_DIST = config.rpath ABOUT-NLS

install : all install-recursive

# options to install files in the libexec directory
netmrg_libexecdir=$(libexecdir)/$(PACKAGE)
netmrg_libexec_SCRIPTS = libexec/*.php libexec/*.pl

# options to install files in the bin directory
bin_SCRIPTS = bin/rrdedit

# options to install files in the share/images directory
netmrg_share_imagesdir=$(pkgdatadir)/images
netmrg_share_images_DATA = share/images/default/*.svg

# options to install files in the share/db directory
netmrg_share_dbdir=$(pkgdatadir)/db
netmrg_share_db_DATA = share/netmrg.mysql

# options to install files in the share/contrib directory
netmrg_share_bindstatsdir=$(pkgdatadir)/contrib/bindstats
netmrg_share_bindstats_DATA = contrib/bindstats/dnsstats*

# options to install files in the share/doc directory
netmrg_share_docdir=$(datadir)/doc/$(PACKAGE)-$(VERSION)
netmrg_share_doc_DATA = INSTALL README share/doc/*.sgml share/doc/ChangeLog share/doc/LICENSE share/doc/TODO share/doc/txt/netmrg.txt share/doc/txt/INSTALL share/doc/txt/RELEASE-NOTES share/doc/txt/UPGRADE etc/cron.d-netmrg etc/init.d-netmrg

# html documentation
netmrg_share_htmldir=$(datadir)/doc/$(PACKAGE)-$(VERSION)/html
netmrg_share_html_DATA = share/doc/html/*.html

# man1 pages
netmrg_man1dir=$(mandir)/man1
netmrg_man1_DATA = share/doc/man/man1/*.1

# options to install files in the var/log directory
netmrg_var_logdir=$(localstatedir)/log/$(PACKAGE)
netmrg_var_log_DATA = 


distclean: distclean-recursive
	@echo "  RM     $(am__CONFIG_DISTCLEAN_FILES)"
	@rm -f $(am__CONFIG_DISTCLEAN_FILES)
	@echo "  RM     Makefile"
	@rm -f Makefile

install-netmrg_libexecSCRIPTS: $(netmrg_libexec_SCRIPTS)
	@$(NORMAL_INSTALL)
	test -z "$(netmrg_libexecdir)" || $(mkdir_p) "$(DESTDIR)$(netmrg_libexecdir)"
	@echo "  INST   $(netmrg_libexec_SCRIPTS)"
	@list='$(netmrg_libexec_SCRIPTS)'; for p in $$list; do \
	  if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
	  if test -f $$d$$p; then \
	    f=`echo "$$p" | sed 's|^.*/||;$(transform)'`; \
	    $(netmrg_libexecSCRIPT_INSTALL) "$$d$$p" "$(DESTDIR)$(netmrg_libexecdir)/$$f"; \
	  else :; fi; \
	done

install-binSCRIPTS: $(bin_SCRIPTS)
	@$(NORMAL_INSTALL)
	test -z "$(bindir)" || $(mkdir_p) "$(DESTDIR)$(bindir)"
	@echo "  INST   $(bin_SCRIPTS)"
	@list='$(bin_SCRIPTS)'; for p in $$list; do \
	  if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
	  if test -f $$d$$p; then \
	    f=`echo "$$p" | sed 's|^.*/||;$(transform)'`; \
	    $(binSCRIPT_INSTALL) "$$d$$p" "$(DESTDIR)$(bindir)/$$f"; \
	  else :; fi; \
	done

install-netmrg_share_imagesDATA: $(netmrg_share_images_DATA)
	@$(NORMAL_INSTALL)
	test -z "$(netmrg_share_imagesdir)" || $(mkdir_p) "$(DESTDIR)$(netmrg_share_imagesdir)"
	@echo "  INST   $(netmrg_share_images_DATA)"
	@list='$(netmrg_share_images_DATA)'; for p in $$list; do \
	  if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
	  f="`echo $$p | sed -e 's|^.*/||'`"; \
	  $(netmrg_share_imagesDATA_INSTALL) "$$d$$p" "$(DESTDIR)$(netmrg_share_imagesdir)/$$f"; \
	done

install-netmrg_share_dbDATA: $(netmrg_share_db_DATA)
	@$(NORMAL_INSTALL)
	test -z "$(netmrg_share_dbdir)" || $(mkdir_p) "$(DESTDIR)$(netmrg_share_dbdir)"
	@echo "  INST   $(netmrg_share_db_DATA)"
	@list='$(netmrg_share_db_DATA)'; for p in $$list; do \
	  if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
	  f="`echo $$p | sed -e 's|^.*/||'`"; \
	  $(netmrg_share_dbDATA_INSTALL) "$$d$$p" "$(DESTDIR)$(netmrg_share_dbdir)/$$f"; \
	done

install-netmrg_share_bindstatsDATA: $(netmrg_share_bindstats_DATA)
	@$(NORMAL_INSTALL)
	test -z "$(netmrg_share_bindstatsdir)" || $(mkdir_p) "$(DESTDIR)$(netmrg_share_bindstatsdir)"
	@echo "  INST   $(netmrg_share_bindstats_DATA)"
	@list='$(netmrg_share_bindstats_DATA)'; for p in $$list; do \
	  if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
	  f="`echo $$p | sed -e 's|^.*/||'`"; \
	  $(netmrg_share_bindstatsDATA_INSTALL) "$$d$$p" "$(DESTDIR)$(netmrg_share_bindstatsdir)/$$f"; \
	done

install-netmrg_share_docDATA: $(netmrg_share_doc_DATA)
	@$(NORMAL_INSTALL)
	test -z "$(netmrg_share_docdir)" || $(mkdir_p) "$(DESTDIR)$(netmrg_share_docdir)"
	@echo "  INST   $(netmrg_share_doc_DATA)"
	@list='$(netmrg_share_doc_DATA)'; for p in $$list; do \
	  if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
	  f="`echo $$p | sed -e 's|^.*/||'`"; \
	  $(netmrg_share_docDATA_INSTALL) "$$d$$p" "$(DESTDIR)$(netmrg_share_docdir)/$$f"; \
	done

install-netmrg_share_htmlDATA: $(netmrg_share_html_DATA)
	@$(NORMAL_INSTALL)
	test -z "$(netmrg_share_htmldir)" || $(mkdir_p) "$(DESTDIR)$(netmrg_share_htmldir)"
	@echo "  INST   $(netmrg_share_html_DATA)"
	@list='$(netmrg_share_html_DATA)'; for p in $$list; do \
	  if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
	  f="`echo $$p | sed -e 's|^.*/||'`"; \
	  $(netmrg_share_htmlDATA_INSTALL) "$$d$$p" "$(DESTDIR)$(netmrg_share_htmldir)/$$f"; \
	done

install-netmrg_man1DATA: $(netmrg_man1_DATA)
	@$(NORMAL_INSTALL)
	test -z "$(netmrg_man1dir)" || $(mkdir_p) "$(DESTDIR)$(netmrg_man1dir)"
	@echo "  INST   $(netmrg_man1_DATA)"
	@list='$(netmrg_man1_DATA)'; for p in $$list; do \
	  if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
	  f="`echo $$p | sed -e 's|^.*/||'`"; \
	  $(netmrg_man1DATA_INSTALL) "$$d$$p" "$(DESTDIR)$(netmrg_man1dir)/$$f"; \
	done