mirror of
https://github.com/X11Libre/xserver.git
synced 2026-03-24 08:04:30 +00:00
Xephyr: build Xephyr 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:
committed by
Keith Packard
parent
9240cffd65
commit
ac5ffef60e
@@ -2257,6 +2257,7 @@ hw/xquartz/pbproxy/Makefile
|
||||
hw/xquartz/xpr/Makefile
|
||||
hw/kdrive/Makefile
|
||||
hw/kdrive/ephyr/Makefile
|
||||
hw/kdrive/ephyr/man/Makefile
|
||||
hw/kdrive/fake/Makefile
|
||||
hw/kdrive/fbdev/Makefile
|
||||
hw/kdrive/linux/Makefile
|
||||
|
||||
2
hw/kdrive/ephyr/.gitignore
vendored
2
hw/kdrive/ephyr/.gitignore
vendored
@@ -1,3 +1 @@
|
||||
# Add & Override for this directory and it's subdirectories
|
||||
Xephyr
|
||||
Xephyr.man
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
SUBDIRS = man
|
||||
|
||||
INCLUDES = \
|
||||
@KDRIVE_INCS@ \
|
||||
@KDRIVE_CFLAGS@ \
|
||||
@@ -83,20 +85,6 @@ Xephyr_LDFLAGS = $(LD_EXPORT_SYMBOLS_FLAG)
|
||||
relink:
|
||||
$(AM_V_at)rm -f $(bin_PROGRAMS) && $(MAKE) $(bin_PROGRAMS)
|
||||
|
||||
MAN_SRCS = Xephyr.man.pre
|
||||
|
||||
appmandir = $(APP_MAN_DIR)
|
||||
appman_DATA = Xephyr.$(APP_MAN_SUFFIX)
|
||||
|
||||
Xephyr.$(APP_MAN_SUFFIX): Xephyr.man
|
||||
-$(AM_V_at)rm -f Xephyr.$(APP_MAN_SUFFIX)
|
||||
$(AM_V_at)$(LN_S) Xephyr.man Xephyr.$(APP_MAN_SUFFIX)
|
||||
|
||||
include $(top_srcdir)/cpprules.in
|
||||
|
||||
CLEANFILES = $(appman_DATA) Xephyr.man
|
||||
|
||||
EXTRA_DIST = \
|
||||
$(HOSTVIDEO_SRCS) \
|
||||
$(HOSTDRI_SRCS) \
|
||||
$(MAN_SRCS)
|
||||
$(HOSTDRI_SRCS)
|
||||
|
||||
10
hw/kdrive/ephyr/man/Makefile.am
Normal file
10
hw/kdrive/ephyr/man/Makefile.am
Normal file
@@ -0,0 +1,10 @@
|
||||
appmandir = $(APP_MAN_DIR)
|
||||
appman_PRE = Xephyr.man
|
||||
appman_DATA = $(appman_PRE:man=$(APP_MAN_SUFFIX))
|
||||
|
||||
EXTRA_DIST = $(appman_PRE)
|
||||
CLEANFILES = $(appman_DATA)
|
||||
SUFFIXES = .$(APP_MAN_SUFFIX) .man
|
||||
|
||||
.man.$(APP_MAN_SUFFIX):
|
||||
$(AM_V_GEN)$(SED) $(MAN_SUBSTS) < $< > $@
|
||||
@@ -46,9 +46,9 @@ sets the screen size.
|
||||
.BI -parent " id"
|
||||
uses exiting window
|
||||
.I id .
|
||||
If a
|
||||
.BI -screen
|
||||
argument follows a
|
||||
If a
|
||||
.BI -screen
|
||||
argument follows a
|
||||
.BI -parent
|
||||
argument, this screen is embedded into the given window.
|
||||
.TP 8
|
||||
@@ -85,5 +85,3 @@ Mouse button 5 probably won't work.
|
||||
X(__miscmansuffix__), Xserver(__appmansuffix__)
|
||||
.SH AUTHOR
|
||||
Matthew Allum <mallum@o-hand.com> 2004
|
||||
|
||||
|
||||
Reference in New Issue
Block a user