diff options
author | Peter Hutterer <peter.hutterer@who-t.net> | 2021-02-25 09:05:59 +1000 |
---|---|---|
committer | Peter Hutterer <peter.hutterer@who-t.net> | 2021-03-10 09:20:42 +0000 |
commit | 388aa4870a5344505297a18e8fea233f40f12693 (patch) | |
tree | 7793732f285eeed250a835467cced4f05c527eae /Makefile.am | |
parent | 343dc74e52b69475659c0085bc148971dc854426 (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>
Diffstat (limited to 'Makefile.am')
-rw-r--r-- | Makefile.am | 42 |
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 \ |