summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Hutterer <peter.hutterer@who-t.net>2021-02-25 09:05:59 +1000
committerPeter Hutterer <peter.hutterer@who-t.net>2021-03-10 09:20:42 +0000
commit388aa4870a5344505297a18e8fea233f40f12693 (patch)
tree7793732f285eeed250a835467cced4f05c527eae
parent343dc74e52b69475659c0085bc148971dc854426 (diff)
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>
-rw-r--r--Makefile.am42
1 files changed, 21 insertions, 21 deletions
diff --git a/Makefile.am b/Makefile.am
index 2074701..4a39da1 100644
--- a/Makefile.am
+++ b/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 \