File: Makefile.am

package info (click to toggle)
nvclock 0.5-1
  • links: PTS
  • area: main
  • in suites: woody
  • size: 432 kB
  • ctags: 306
  • sloc: ansic: 902; sh: 334; perl: 308; cpp: 204; makefile: 82
file content (30 lines) | stat: -rw-r--r-- 696 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
30
## Process this file with automake to produce Makefile.in

docdir = $(prefix)/share/doc/nvclock
nvclock_DOCS = AUTHORS ChangeLog FAQ README ABOUT

SUBDIRS    = src
EXTRA_DIST = automoc autogen.sh
CFLAGS =

install-data-local:
	@documentations='$(nvclock_DOCS)'; \
	for doc in $$documentations; do \
	destdir=$(docdir); \
	name=`echo $$doc` \
	dir=$$destdir; \
	$(mkinstalldirs) $$dir; \
	$(INSTALL_DATA) $$doc $$dir/$$name; \
	  echo "installing $$doc as $$dir/$$name"; \
	done


uninstall-local:
	@documentations='$(nvclock_DOCS)'; \
	for doc in $$documentations; do \
	destdir=$(docdir); \
	name=`echo $$doc` \
	dir=$$destdir; \
	rm -f $$dir/$$name; \
	  echo "removing $$dir/$$name" ; \
	done