File: Makefile

package info (click to toggle)
libcidr 1.2.3-3
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye, buster, forky, sid, trixie
  • size: 956 kB
  • sloc: ansic: 2,800; perl: 333; makefile: 262; sh: 90; awk: 9
file content (26 lines) | stat: -rw-r--r-- 493 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
# Makefile for docs building
.include "../Makefile.inc"

SGMLDIR=reference/sgml

# Coming in from the root, just build the manpage
all build: libcidr.3

# Write path into manpage
man: libcidr.3

libcidr.3: libcidr.3.in Makefile
	@${SED} -e 's|%%DOCDIR%%|${CIDR_DOCDIR}|' < libcidr.3.in > libcidr.3

# SGML docs
sgml ref reference:
	(cd ${SGMLDIR} && ${MAKE})

# Cleanup
clean:
	${RM} libcidr.3
	(cd ${SGMLDIR} && ${MAKE} clean)

allclean:
	${RM} libcidr.3
	(cd ${SGMLDIR} && ${MAKE} allclean)