Xquartz: build Xquartz man pages using XORG_MANPAGE_SECTIONS
Nothing requires the use of a C preprocessor Using standard file extensions (.man) Use standard directory and makefile Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> Reviewed-by: Rémi Cardona <remi@gentoo.org> Signed-off-by: Gaetan Nadon <memsize@videotron.ca> Signed-off-by: Keith Packard <keithp@keithp.com>
This commit is contained in:
parent
a9e85013b1
commit
c06c46acdc
|
@ -1,16 +1,13 @@
|
|||
appmandir = $(APP_MAN_DIR)
|
||||
appman_PRE = Xquartz.man.pre
|
||||
appman_PROCESSED = $(appman_PRE:man.pre=man)
|
||||
appman_DATA = $(appman_PRE:man.pre=@APP_MAN_SUFFIX@)
|
||||
appman_PRE = Xquartz.man
|
||||
appman_DATA = $(appman_PRE:man=$(APP_MAN_SUFFIX))
|
||||
|
||||
CLEANFILES = $(appman_PROCESSED) $(appman_DATA)
|
||||
EXTRA_DIST = $(appman_PRE)
|
||||
CLEANFILES = $(appman_DATA)
|
||||
SUFFIXES = .$(APP_MAN_SUFFIX) .man
|
||||
|
||||
include $(top_srcdir)/cpprules.in
|
||||
|
||||
MANDEFS += -D__laucnd_id_prefix__=$(LAUNCHD_ID_PREFIX)
|
||||
# String replacements in MAN_SUBSTS now come from xorg-macros.m4 via configure
|
||||
MAN_SUBSTS += -e 's|__laucnd_id_prefix__|$(LAUNCHD_ID_PREFIX)|g'
|
||||
|
||||
.man.$(APP_MAN_SUFFIX):
|
||||
$(AM_V_at)cp $< $@
|
||||
|
||||
EXTRA_DIST = \
|
||||
Xquartz.man.pre
|
||||
$(AM_V_GEN)$(SED) $(MAN_SUBSTS) < $< > $@
|
||||
|
|
Loading…
Reference in New Issue
Block a user