Fix building of target with multiply sources
This commit is contained in:
parent
69234255f2
commit
4b99b57547
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=5382
@ -5,15 +5,17 @@ MAKEINFOFLAGS?= # --no-split would simplify some things, e.g., compression
|
||||
|
||||
.SUFFIXES: .info .texi .texinfo
|
||||
.texi.info:
|
||||
${MAKEINFO} ${MAKEINFOFLAGS} ${.IMPSRC} -o ${.TARGET}
|
||||
${MAKEINFO} ${MAKEINFOFLAGS} -I ${.CURDIR} ${.IMPSRC} -o ${.TARGET}
|
||||
.texinfo.info:
|
||||
${MAKEINFO} ${MAKEINFOFLAGS} ${.IMPSRC} -o ${.TARGET}
|
||||
${MAKEINFO} ${MAKEINFOFLAGS} -I ${.CURDIR} ${.IMPSRC} -o ${.TARGET}
|
||||
|
||||
.PATH: ${.CURDIR}
|
||||
|
||||
all: ${INFO:S/$/.info/g}
|
||||
|
||||
.if defined(SRCS)
|
||||
all: ${INFO:S/$/.info/g}
|
||||
${MAKEINFO} ${MAKEINFOFLAGS} ${SRCS} -o ${INFO:S/$/.info/g}
|
||||
.else
|
||||
all: ${INFO:S/$/.info/g}
|
||||
${INFO}.info: ${SRCS}
|
||||
${MAKEINFO} ${MAKEINFOFLAGS} -I ${.CURDIR} ${SRCS:S/^/${.CURDIR}\//g} -o ${INFO}.info
|
||||
.endif
|
||||
|
||||
depend:;
|
||||
|
Loading…
Reference in New Issue
Block a user