xenocara/lib/libXcursor/man/Makefile.am

19 lines
476 B
Makefile
Raw Normal View History

2006-11-25 09:46:32 -07:00
libmandir = $(LIB_MAN_DIR)
libman_PRE = Xcursor.man
libman_DATA = $(libman_PRE:man=@LIB_MAN_SUFFIX@)
all-local: $(libman_DATA)
EXTRA_DIST = $(libman_PRE)
CLEANFILES = $(libman_DATA)
SUFFIXES = .$(LIB_MAN_SUFFIX) .man
# Strings to replace in man pages
XORGRELSTRING = @PACKAGE_STRING@
.man.$(LIB_MAN_SUFFIX):
-rm -f $@
sed 's/__xorgversion__/"$(XORGRELSTRING)"/; s/__LIB_MAN_SUFFIX__/$(LIB_MAN_SUFFIX)/; s%__prefix__%$(prefix)%g; s%__ICONDIR__%$(ICONDIR)%g' < $< > $@