[lwatch-cvs] files/doc Makefile.am,1.8,1.9 Makefile.in,1.8,1.9
Brought to you by:
arturcz
|
From: <ar...@us...> - 2003-02-06 23:34:09
|
Update of /cvsroot/lwatch/files/doc
In directory sc8-pr-cvs1:/tmp/cvs-serv5251/doc
Modified Files:
Makefile.am Makefile.in
Log Message:
- configure.ac, doc/Makefile.am: some magic with manual rebuilding[1]
- other: automagicaly rebuilded
[1] If sources are get from CVS I assume that I'm in maintainter mode.
That's mean some tools (i.e. doxbook-to-man) are available. In this
mode I can create lwatch.1.in from lwatch.sgml, which is manual with
@VARIABLES@.
If sources are get from distributed tarball I assume that I have
lwatch.1.in and I replace all @VARIABLES@ with proper values.
Kinda magic, isn't it?
Index: Makefile.am
===================================================================
RCS file: /cvsroot/lwatch/files/doc/Makefile.am,v
retrieving revision 1.8
retrieving revision 1.9
diff -C2 -d -r1.8 -r1.9
*** Makefile.am 4 Feb 2003 23:29:58 -0000 1.8
--- Makefile.am 6 Feb 2003 23:34:05 -0000 1.9
***************
*** 1,9 ****
! dist_man_MANS = lwatch.1
! EXTRA_DIST = lwatch.sgml conf.ent.in
! CLEANFILES = lwatch.1 conf.ent
conf.ent: conf.ent.in Makefile
sed "s#@CONFDIR\@#$(sysconfdir)#g" < conf.ent.in > conf.ent
! lwatch.1: lwatch.sgml conf.ent
! $(dbook2man) lwatch.sgml > lwatch.1
--- 1,23 ----
! man_MANS = @DOCMAN@
! dist_man_MANS = @DISTMAN@
! EXTRA_DIST = lwatch.sgml
! CLEANFILES = lwatch.1 conf.ent @DOCMAN@ @DISTMAN@
!
! if DISTRO
! if MAKE_MAN
! lwatch.1: lwatch.sgml conf.ent
! $(dbook2man) lwatch.sgml > lwatch.1
conf.ent: conf.ent.in Makefile
sed "s#@CONFDIR\@#$(sysconfdir)#g" < conf.ent.in > conf.ent
+ else
+ lwatch.1: lwatch.1.in
+ sed "s#@CONFDIR\@#$(sysconfdir)#g" < lwatch.1.in > lwatch.1
+ endif
+ else
+ lwatch.1.in: lwatch.sgml conf.ent
+ $(dbook2man) lwatch.sgml > lwatch.1.in
! conf.ent: conf.ent.in
! cp conf.ent.in conf.ent
! endif
Index: Makefile.in
===================================================================
RCS file: /cvsroot/lwatch/files/doc/Makefile.in,v
retrieving revision 1.8
retrieving revision 1.9
diff -C2 -d -r1.8 -r1.9
*** Makefile.in 4 Feb 2003 23:29:59 -0000 1.8
--- Makefile.in 6 Feb 2003 23:34:05 -0000 1.9
***************
*** 52,55 ****
--- 52,59 ----
DEFS = @DEFS@
DEPDIR = @DEPDIR@
+ DISTMAN = @DISTMAN@
+ DISTRO_FALSE = @DISTRO_FALSE@
+ DISTRO_TRUE = @DISTRO_TRUE@
+ DOCMAN = @DOCMAN@
ECHO_C = @ECHO_C@
ECHO_N = @ECHO_N@
***************
*** 57,60 ****
--- 61,66 ----
EGREP = @EGREP@
EXEEXT = @EXEEXT@
+ HAVE_D2M_FALSE = @HAVE_D2M_FALSE@
+ HAVE_D2M_TRUE = @HAVE_D2M_TRUE@
INSTALL_DATA = @INSTALL_DATA@
INSTALL_PROGRAM = @INSTALL_PROGRAM@
***************
*** 70,73 ****
--- 76,81 ----
LTLIBOBJS = @LTLIBOBJS@
MAKEINFO = @MAKEINFO@
+ MAKE_MAN_FALSE = @MAKE_MAN_FALSE@
+ MAKE_MAN_TRUE = @MAKE_MAN_TRUE@
OBJEXT = @OBJEXT@
PACKAGE = @PACKAGE@
***************
*** 108,114 ****
sysconfdir = @sysconfdir@
target_alias = @target_alias@
! dist_man_MANS = lwatch.1
! EXTRA_DIST = lwatch.sgml conf.ent.in
! CLEANFILES = lwatch.1 conf.ent
subdir = doc
mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
--- 116,123 ----
sysconfdir = @sysconfdir@
target_alias = @target_alias@
! man_MANS = @DOCMAN@
! dist_man_MANS = @DISTMAN@
! EXTRA_DIST = lwatch.sgml
! CLEANFILES = lwatch.1 conf.ent @DOCMAN@ @DISTMAN@
subdir = doc
mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
***************
*** 116,122 ****
CONFIG_CLEAN_FILES =
DIST_SOURCES =
-
- NROFF = nroff
- MANS = $(dist_man_MANS)
DIST_COMMON = $(dist_man_MANS) Makefile.am Makefile.in
all: all-am
--- 125,128 ----
***************
*** 129,179 ****
cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)
uninstall-info-am:
-
- man1dir = $(mandir)/man1
- install-man1: $(man1_MANS) $(man_MANS)
- @$(NORMAL_INSTALL)
- $(mkinstalldirs) $(DESTDIR)$(man1dir)
- @list='$(man1_MANS) $(dist_man1_MANS) $(nodist_man1_MANS)'; \
- l2='$(man_MANS) $(dist_man_MANS) $(nodist_man_MANS)'; \
- for i in $$l2; do \
- case "$$i" in \
- *.1*) list="$$list $$i" ;; \
- esac; \
- done; \
- for i in $$list; do \
- if test -f $(srcdir)/$$i; then file=$(srcdir)/$$i; \
- else file=$$i; fi; \
- ext=`echo $$i | sed -e 's/^.*\\.//'`; \
- case "$$ext" in \
- 1*) ;; \
- *) ext='1' ;; \
- esac; \
- inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \
- inst=`echo $$inst | sed -e 's/^.*\///'`; \
- inst=`echo $$inst | sed '$(transform)'`.$$ext; \
- echo " $(INSTALL_DATA) $$file $(DESTDIR)$(man1dir)/$$inst"; \
- $(INSTALL_DATA) $$file $(DESTDIR)$(man1dir)/$$inst; \
- done
- uninstall-man1:
- @$(NORMAL_UNINSTALL)
- @list='$(man1_MANS) $(dist_man1_MANS) $(nodist_man1_MANS)'; \
- l2='$(man_MANS) $(dist_man_MANS) $(nodist_man_MANS)'; \
- for i in $$l2; do \
- case "$$i" in \
- *.1*) list="$$list $$i" ;; \
- esac; \
- done; \
- for i in $$list; do \
- ext=`echo $$i | sed -e 's/^.*\\.//'`; \
- case "$$ext" in \
- 1*) ;; \
- *) ext='1' ;; \
- esac; \
- inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \
- inst=`echo $$inst | sed -e 's/^.*\///'`; \
- inst=`echo $$inst | sed '$(transform)'`.$$ext; \
- echo " rm -f $(DESTDIR)$(man1dir)/$$inst"; \
- rm -f $(DESTDIR)$(man1dir)/$$inst; \
- done
tags: TAGS
TAGS:
--- 135,138 ----
***************
*** 216,223 ****
check-am: all-am
check: check-am
! all-am: Makefile $(MANS)
installdirs:
- $(mkinstalldirs) $(DESTDIR)$(man1dir)
install: install-am
--- 175,181 ----
check-am: all-am
check: check-am
! all-am: Makefile
installdirs:
install: install-am
***************
*** 262,266 ****
info-am:
! install-data-am: install-man
install-exec-am:
--- 220,224 ----
info-am:
! install-data-am:
install-exec-am:
***************
*** 268,272 ****
install-info: install-info-am
! install-man: install-man1
installcheck-am:
--- 226,230 ----
install-info: install-info-am
! install-man:
installcheck-am:
***************
*** 288,294 ****
ps-am:
! uninstall-am: uninstall-info-am uninstall-man
!
! uninstall-man: uninstall-man1
.PHONY: all all-am check check-am clean clean-generic distclean \
--- 246,250 ----
ps-am:
! uninstall-am: uninstall-info-am
.PHONY: all all-am check check-am clean clean-generic distclean \
***************
*** 296,310 ****
install-am install-data install-data-am install-exec \
install-exec-am install-info install-info-am install-man \
! install-man1 install-strip installcheck installcheck-am \
! installdirs maintainer-clean maintainer-clean-generic \
! mostlyclean mostlyclean-generic pdf pdf-am ps ps-am uninstall \
! uninstall-am uninstall-info-am uninstall-man uninstall-man1
! conf.ent: conf.ent.in Makefile
! sed "s#@CONFDIR\@#$(sysconfdir)#g" < conf.ent.in > conf.ent
! lwatch.1: lwatch.sgml conf.ent
! $(dbook2man) lwatch.sgml > lwatch.1
# Tell versions [3.59,3.63) of GNU make to not export all variables.
# Otherwise a system limit (for SysV at least) may be exceeded.
--- 252,273 ----
install-am install-data install-data-am install-exec \
install-exec-am install-info install-info-am install-man \
! install-strip installcheck installcheck-am installdirs \
! maintainer-clean maintainer-clean-generic mostlyclean \
! mostlyclean-generic pdf pdf-am ps ps-am uninstall uninstall-am \
! uninstall-info-am
! @DISTRO_TRUE@@MAKE_MAN_TRUE@lwatch.1: lwatch.sgml conf.ent
! @DISTRO_TRUE@@MAKE_MAN_TRUE@ $(dbook2man) lwatch.sgml > lwatch.1
! @DISTRO_TRUE@@MAK...@co...: conf.ent.in Makefile
! @DISTRO_TRUE@@MAKE_MAN_TRUE@ sed "s#@CONFDIR\@#$(sysconfdir)#g" < conf.ent.in > conf.ent
! @DISTRO_TRUE@@MAKE_MAN_FALSE@lwatch.1: lwatch.1.in
! @DISTRO_TRUE@@MAKE_MAN_FALSE@ sed "s#@CONFDIR\@#$(sysconfdir)#g" < lwatch.1.in > lwatch.1
! @DIS...@lw...: lwatch.sgml conf.ent
! @DISTRO_FALSE@ $(dbook2man) lwatch.sgml > lwatch.1.in
!
! @DIS...@co...: conf.ent.in
! @DISTRO_FALSE@ cp conf.ent.in conf.ent
# Tell versions [3.59,3.63) of GNU make to not export all variables.
# Otherwise a system limit (for SysV at least) may be exceeded.
|