mirror of
https://gitlab.freedesktop.org/xorg/proto/xorgproto.git
synced 2025-12-20 04:40:10 +01:00
Makefile.am: move the man page rules to the top
More readable grouping this way Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
This commit is contained in:
parent
343dc74e52
commit
388aa4870a
1 changed files with 21 additions and 21 deletions
42
Makefile.am
42
Makefile.am
|
|
@ -1,3 +1,24 @@
|
|||
SED = sed
|
||||
|
||||
XORGRELSTRING = @PACKAGE_STRING@
|
||||
XORGMANNAME = X Version 11
|
||||
|
||||
MAN_SUBSTS = \
|
||||
-e 's|__vendorversion__|"$(XORGRELSTRING)" "$(XORGMANNAME)"|' \
|
||||
-e 's|__xorgversion__|"$(XORGRELSTRING)" "$(XORGMANNAME)"|' \
|
||||
-e 's|__datadir__|$(datadir)|g' \
|
||||
-e 's|__libdir__|$(libdir)|g' \
|
||||
-e 's|__sysconfdir__|$(sysconfdir)|g' \
|
||||
-e 's|__appmansuffix__|$(APP_MAN_SUFFIX)|g' \
|
||||
-e 's|__libmansuffix__|$(LIB_MAN_SUFFIX)|g' \
|
||||
-e 's|__miscmansuffix__|$(MISC_MAN_SUFFIX)|g'
|
||||
|
||||
SUFFIXES = .$(MISC_MAN_SUFFIX) .man
|
||||
|
||||
.man.$(MISC_MAN_SUFFIX): man
|
||||
$(MKDIR_P) man
|
||||
$(AM_V_GEN)$(SED) $(MAN_SUBSTS) < $< > $@
|
||||
|
||||
applewmdir = $(includedir)/X11/extensions
|
||||
applewm_HEADERS = \
|
||||
include/X11/extensions/applewmconst.h \
|
||||
|
|
@ -121,27 +142,6 @@ present_HEADERS = \
|
|||
presentprotopkgconfigdir = $(datadir)/pkgconfig
|
||||
presentprotopkgconfig_DATA = presentproto.pc
|
||||
|
||||
SED = sed
|
||||
|
||||
XORGRELSTRING = @PACKAGE_STRING@
|
||||
XORGMANNAME = X Version 11
|
||||
|
||||
MAN_SUBSTS = \
|
||||
-e 's|__vendorversion__|"$(XORGRELSTRING)" "$(XORGMANNAME)"|' \
|
||||
-e 's|__xorgversion__|"$(XORGRELSTRING)" "$(XORGMANNAME)"|' \
|
||||
-e 's|__datadir__|$(datadir)|g' \
|
||||
-e 's|__libdir__|$(libdir)|g' \
|
||||
-e 's|__sysconfdir__|$(sysconfdir)|g' \
|
||||
-e 's|__appmansuffix__|$(APP_MAN_SUFFIX)|g' \
|
||||
-e 's|__libmansuffix__|$(LIB_MAN_SUFFIX)|g' \
|
||||
-e 's|__miscmansuffix__|$(MISC_MAN_SUFFIX)|g'
|
||||
|
||||
SUFFIXES = .$(MISC_MAN_SUFFIX) .man
|
||||
|
||||
.man.$(MISC_MAN_SUFFIX): man
|
||||
$(MKDIR_P) man
|
||||
$(AM_V_GEN)$(SED) $(MAN_SUBSTS) < $< > $@
|
||||
|
||||
randrdir = $(includedir)/X11/extensions
|
||||
randr_HEADERS = \
|
||||
include/X11/extensions/randr.h \
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue