File: Makelocal-manpages

package info (click to toggle)
cod-tools 2.3%2Bdfsg-3
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 114,852 kB
  • sloc: perl: 53,336; sh: 23,842; ansic: 6,318; xml: 1,982; yacc: 1,112; makefile: 716; python: 158; sql: 73
file content (29 lines) | stat: -rw-r--r-- 895 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
27
28
29
#--*- Makefile -*--------------------------------------------------------------
#$Author: andrius $
#$Revision: 6144 $
#$Date: 2018-04-16 09:16:29 +0300 (Pr, 16 bal. 2018) $
#$URL: svn://www.crystallography.net/cod-tools/tags/v2.3/Makelocal-manpages $
#------------------------------------------------------------------------------

MAN_DIR = doc/man
C_PROGRAM_EXE_FILE_BASES = ${notdir ${C_PROGRAM_EXE_FILES}}
MAN_FILES = ${CODTOOLS_SCRIPTS:scripts/%=${MAN_DIR}/%.1} \
            ${MAN_DIR}/cif_printout_Python.1 \
            ${C_PROGRAM_EXE_FILE_BASES:%=${MAN_DIR}/%.1}

BUGS_EMAIL = cod-bugs@ibt.lt

man: ${MAN_FILES}

all: man

${MAN_DIR}/%.1: scripts/%
	-tools/help2man $< --bugs-email ${BUGS_EMAIL} > $@

${MAN_DIR}/%.1: src/components/codcif/%
	-$< --help | tools/help2man --stdin --name $* --bugs-email ${BUGS_EMAIL} > $@

clean-man:
	rm -f ${MAN_FILES}

cleanAll distclean: clean-man