File: Makefile.in

package info (click to toggle)
ccze 0.2.1-8
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 1,372 kB
  • sloc: ansic: 4,729; sh: 2,607; makefile: 249
file content (34 lines) | stat: -rw-r--r-- 927 bytes parent folder | download | duplicates (8)
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
## doc/Makefile.in

## -- User-modifiable variables -- ##
srcdir		= @srcdir@
top_srcdir	= @top_srcdir@
subdir		= doc

## == The code below shouldn't need to be touched at all == ##

include ../Rules.mk

## -- Private variables -- ##
MANS		= ccze.1 ccze-plugin.7 ccze-cssdump.1
DISTCLEANFILES	= ${MANS}
EXTRA_DIST	= ccze.1.in ccze-plugin.7.in ccze-cssdump.1.in

## -- Generic rules -- ##
all: ${MANS}

%: %.in ${top_srcdir}/ChangeLog
	sed -e "s,@VERSION\@,${VERSION},g" \
	    -e "s,@sysconfdir\@,${sysconfdir},g" \
	    -e "s,@pkglibdir\@,${pkglibdir},g" \
	<${srcdir}/$@.in >$@T && mv -f $@T $@

install: ${MANS}
	${INSTALL} -d ${DESTDIR}${man1dir}
	${INSTALL_DATA} ccze.1 ccze-cssdump.1 ${DESTDIR}${man1dir}/
	${INSTALL} -d ${DESTDIR}${man7dir}
	${INSTALL_DATA} ccze-plugin.7 ${DESTDIR}${man7dir}/

uninstall:
	rm -f ${DESTDIR}${man1dir}/ccze.1 ${DESTDIR}${man7dir}/ccze-plugin.7 \
	      ${DESTDIR}${man1dir}/ccze-cssdump.1