-
Notifications
You must be signed in to change notification settings - Fork 9
/
Makefile
39 lines (29 loc) · 1014 Bytes
/
Makefile
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
VERSION = 0.99
libexecdir = /usr/libexec
pkglibexecdir = ${libexecdir}/zapish
mandir = /usr/share/man
man1dir = ${mandir}/man1
man3dir = ${mandir}/man3
MKDIR_P = mkdir -p
DESTDIR =
INSTALL = /usr/bin/install -c
INSTALL_DATA = ${INSTALL} -m 644
INSTALL_SCRIPT = ${INSTALL}
all: zapish.inc.3 zapish.1
zapish.inc.3: zapish.inc.3.xml
xsltproc \
--param "man.authors.section.enabled" "1" \
--stringparam "man.output.base.dir" "0" \
-nonet http://docbook.sourceforge.net/release/xsl/current/manpages/profile-docbook.xsl $<
zapish.1: zapish.1.xml
xsltproc \
--param "man.authors.section.enabled" "1" \
--stringparam "man.output.base.dir" "0" \
-nonet http://docbook.sourceforge.net/release/xsl/current/manpages/profile-docbook.xsl $<
install:
$(MKDIR_P) "$(DESTDIR)$(man3dir)" "$(DESTDIR)$(pkglibexecdir)"
$(INSTALL_DATA) zapish.inc.1 "$(DESTDIR)$(man1dir)"
$(INSTALL_DATA) zapish.inc.3 "$(DESTDIR)$(man3dir)"
$(INSTALL_DATA) zapish.inc "$(DESTDIR)$(pkglibexecdir)"
dist:
rpm: