fbdevhw: build man pages using XORG_MANPAGE_SECTIONS
Nothing requires the use of a C preprocessor Using standard file extensions (.man) means no need for .gitignore Use standard directory and makefile Fix trailing whitespaces 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
b9276cb86b
commit
d4b1fd3ff6
|
@ -2214,6 +2214,7 @@ hw/xfree86/dri/Makefile
|
||||||
hw/xfree86/dri2/Makefile
|
hw/xfree86/dri2/Makefile
|
||||||
hw/xfree86/exa/Makefile
|
hw/xfree86/exa/Makefile
|
||||||
hw/xfree86/fbdevhw/Makefile
|
hw/xfree86/fbdevhw/Makefile
|
||||||
|
hw/xfree86/fbdevhw/man/Makefile
|
||||||
hw/xfree86/i2c/Makefile
|
hw/xfree86/i2c/Makefile
|
||||||
hw/xfree86/int10/Makefile
|
hw/xfree86/int10/Makefile
|
||||||
hw/xfree86/loader/Makefile
|
hw/xfree86/loader/Makefile
|
||||||
|
|
|
@ -1,2 +0,0 @@
|
||||||
# Add & Override for this directory and it's subdirectories
|
|
||||||
fbdevhw.man
|
|
|
@ -1,3 +1,5 @@
|
||||||
|
SUBDIRS = man
|
||||||
|
|
||||||
module_LTLIBRARIES = libfbdevhw.la
|
module_LTLIBRARIES = libfbdevhw.la
|
||||||
|
|
||||||
libfbdevhw_la_LDFLAGS = -avoid-version
|
libfbdevhw_la_LDFLAGS = -avoid-version
|
||||||
|
@ -14,14 +16,4 @@ AM_CFLAGS = $(DIX_CFLAGS) $(XORG_CFLAGS)
|
||||||
|
|
||||||
sdk_HEADERS = fbdevhw.h
|
sdk_HEADERS = fbdevhw.h
|
||||||
|
|
||||||
include $(top_srcdir)/cpprules.in
|
EXTRA_DIST = fbpriv.h README
|
||||||
|
|
||||||
drivermandir = $(DRIVER_MAN_DIR)
|
|
||||||
driverman_DATA = fbdevhw.$(DRIVER_MAN_SUFFIX)
|
|
||||||
CLEANFILES = $(driverman_DATA) fbdevhw.man
|
|
||||||
|
|
||||||
fbdevhw.$(DRIVER_MAN_SUFFIX): fbdevhw.man
|
|
||||||
-$(AM_V_at)rm -f fbdevhw.$(DRIVER_MAN_SUFFIX)
|
|
||||||
$(AM_V_at)$(LN_S) fbdevhw.man fbdevhw.$(DRIVER_MAN_SUFFIX)
|
|
||||||
|
|
||||||
EXTRA_DIST = fbpriv.h fbdevhw.man.pre README
|
|
||||||
|
|
|
@ -0,0 +1,11 @@
|
||||||
|
drivermandir = $(DRIVER_MAN_DIR)
|
||||||
|
driverman_PRE = fbdevhw.man
|
||||||
|
driverman_DATA = $(driverman_PRE:man=$(DRIVER_MAN_SUFFIX))
|
||||||
|
|
||||||
|
EXTRA_DIST = $(driverman_PRE)
|
||||||
|
CLEANFILES = $(driverman_DATA)
|
||||||
|
SUFFIXES = .$(DRIVER_MAN_SUFFIX) .man
|
||||||
|
|
||||||
|
# String replacements in MAN_SUBSTS now come from xorg-macros.m4 via configure
|
||||||
|
.man.$(DRIVER_MAN_SUFFIX):
|
||||||
|
$(AM_V_GEN)$(SED) $(MAN_SUBSTS) < $< > $@
|
Loading…
Reference in New Issue