File: Makefile.am

package info (click to toggle)
norsnet 1.0.17-8
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 604 kB
  • sloc: perl: 870; sh: 607; makefile: 34; fortran: 7
file content (29 lines) | stat: -rw-r--r-- 770 bytes parent folder | download
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
SUBDIRS = scr examples

man_MANS = norsnet.1

dist_noinst_DATA = norsnet.pod.in
dist_bin_SCRIPTS = norsnet

norsnet.pod:	norsnet.pod.in
	sed -e 's|__docdir__|$(docdir)|g;s|__datadir__|$(datadir)|g;s|__pkgdatadir__|$(pkgdatadir)|g;s|__sysconfdir__|$(sysconfdir)|g;s|__bindir__|$(bindir)|g;' "$<" > "$@"

norsnet.1:	norsnet.pod
	pod2man -c 'User Commands' -r "$(VERSION)" $< $@

distclean-local:
	rm -f norsnet.pod norsnet.1

dist-hook:
	rm -rf `find $(distdir) -name .svn`

install-data-local:

install-data-hook:

install-exec-hook:
	sed -i -e 's|__datadir__|$(datadir)|g;s|__docdir__|$(docdir)|g;s|__pkgdatadir__|$(pkgdatadir)|g;s|__sysconfdir__|$(sysconfdir)|g;' "$(DESTDIR)$(bindir)/norsnet"

uninstall-local:
	rm -rf "$(DESTDIR)$(pkgdatadir)" "$(DESTDIR)$(docdir)"