File: makeman.defs

package info (click to toggle)
cryptmount 6.3.0-1
  • links: PTS
  • area: main
  • in suites: forky, sid, trixie
  • size: 1,208 kB
  • sloc: ansic: 6,249; sh: 2,478; makefile: 159; sed: 16
file content (30 lines) | stat: -rw-r--r-- 1,030 bytes parent folder | download | duplicates (2)
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
# cryptmount makefile-rules for man-pages
# RW Penney, April 2006


# transform manpages in Makefile rather than configure,
# because otherwise '${prefix}' may not be fully expanded:
mantransform="s,@PACKAGE_VERSION\@,${PACKAGE_VERSION},g; \
		s,@CM_SYSCONF_DIR\@,${CM_SYSCONF_DIR},g; \
		s,@CM_SYSRUN_DIR\@,${CM_SYSRUN_DIR},g; \
		s,@CM_DEFAULT_CIPHER\@,${CM_DEFAULT_CIPHER},g; \
		s,@DFLT_KEYHASH\@,${DFLT_KEYHASH},g; \
		s,@DFLT_KEYCIPHER\@,${DFLT_KEYCIPHER},g; \
		s,@CM_DEFAULT_SUPATH\@,${CM_DEFAULT_SUPATH},g; \
		/^___DELETE_CSWAP_${WITH_CSWAP}/,/^___END_CSWAP_${WTIH_CSWAP}/d; \
		/^___DELETE_FSCK_${WITH_FSCK}/,/^___END_FSCK_${WTIH_FSCK}/d; \
		/^___/d"


cmtab.5:	cmtab.5.in ${top_builddir}/config.status
	@echo "Preparing $@ from $<"
	@sed ${mantransform} $< > $@

cryptmount.8:	cryptmount.8.in ${top_builddir}/config.status
	@echo "Preparing $@ from $<"
	@sed ${mantransform} $< > $@

cryptmount-setup.8:	cryptmount-setup.8.in ${top_builddir}/config.status
	@echo "Preparing $@ from $<"
	@sed ${mantransform} $< > $@