File: Makefile.am

package info (click to toggle)
nana 2.1-3
  • links: PTS
  • area: main
  • in suites: slink
  • size: 2,416 kB
  • ctags: 470
  • sloc: ansic: 4,369; sh: 2,271; makefile: 194; cpp: 106; tcl: 48; lisp: 39
file content (20 lines) | stat: -rw-r--r-- 540 bytes parent folder | download | duplicates (7)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#
# a short makefile
#

CLEANFILES = $(wildcard *~)

EXTRA_DIST = nana.1 nana-clg.1 I.3 DI.3 L.3 DL.3 Q.3 Qstl.3 nana.3

man_MANS =  nana.1 nana-clg.1 I.3 DI.3 L.3 DL.3 Q.3 Qstl.3 nana.3 

# We seem to have a problem with automake, if I include nana.1 in the
# man_MANS variable we don't install it. The following dodgey aims
# to fix it.

install-data-local:
	@sect=1;				\
	inst=`echo "nana" | sed '$(transform)'`.1; \
	echo installing nana.1 as $(mandir)/man$$sect/$$inst; \
	$(INSTALL_DATA) $(srcdir)/nana.1 $(mandir)/man$$sect/$$inst