[PATCH app-sessreg 4/4] config: remove no longer used filenames.sed.c
Gaetan Nadon
memsize at videotron.ca
Mon Mar 14 11:19:49 PDT 2011
Signed-off-by: Gaetan Nadon <memsize at videotron.ca>
---
man/Makefile.am | 14 ++------------
man/filenames.sed.c | 21 ---------------------
2 files changed, 2 insertions(+), 33 deletions(-)
delete mode 100644 man/filenames.sed.c
diff --git a/man/Makefile.am b/man/Makefile.am
index d200a94..3c95fc6 100644
--- a/man/Makefile.am
+++ b/man/Makefile.am
@@ -3,20 +3,10 @@ appmandir = $(APP_MAN_DIR)
appman_PRE = sessreg.man
appman_DATA = $(appman_PRE:man=$(APP_MAN_SUFFIX))
-EXTRA_DIST = $(appman_PRE) filenames.sed.c
-CLEANFILES = $(appman_DATA) filenames.sed
+EXTRA_DIST = $(appman_PRE)
+CLEANFILES = $(appman_DATA)
SUFFIXES = .$(APP_MAN_SUFFIX) .man
-AM_CPPFLAGS = -I..
-filenames.sed: filenames.sed.c
- $(AM_V_GEN)$(CPP) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \
- $(AM_CPPFLAGS) $(CPPFLAGS) $(srcdir)/filenames.sed.c | \
- grep 's|__' > $@
-
# String replacements in MAN_SUBSTS now come from xorg-macros.m4 via configure
-MAN_SUBSTS += -f filenames.sed
-
-sessreg.$(APP_MAN_SUFFIX): filenames.sed
-
.man.$(APP_MAN_SUFFIX):
$(AM_V_GEN)$(SED) $(MAN_SUBSTS) < $< > $@
diff --git a/man/filenames.sed.c b/man/filenames.sed.c
deleted file mode 100644
index 17b01d7..0000000
--- a/man/filenames.sed.c
+++ /dev/null
@@ -1,21 +0,0 @@
-#include "sessreg.h"
-
-#ifdef UTMPX_FILE
-# define UTF UTMPX_FILE
-#else
-# define UTF UTMP_FILE
-#endif
-
-#ifdef WTMPX_FILE
-# define WTF WTMPX_FILE
-#else
-# define WTF WTMP_FILE
-#endif
-
-#ifndef LLOG_FILE
-# define LLOG_FILE "/var/log/lastlog"
-#endif
-
-s|__utmp_file__|UTF|g
-s|__wtmp_file__|WTF|g
-s|__lastlog_file__|LLOG_FILE|g
--
1.6.0.4
More information about the xorg-devel
mailing list