diff options
author | David Smith <dsmith@redhat.com> | 2009-11-23 14:13:38 -0600 |
---|---|---|
committer | David Smith <dsmith@redhat.com> | 2009-11-23 14:13:38 -0600 |
commit | 18871ad0ed1c0618dc4c2479eadbcf982b72e6cd (patch) | |
tree | 6758e55c14f259adcd9f9e3114652d7dfb0de0e1 /doc | |
parent | d58c711f40a92a0013cd62b6e96c4ae1c54fe045 (diff) | |
download | systemtap-steved-18871ad0ed1c0618dc4c2479eadbcf982b72e6cd.tar.gz systemtap-steved-18871ad0ed1c0618dc4c2479eadbcf982b72e6cd.tar.xz systemtap-steved-18871ad0ed1c0618dc4c2479eadbcf982b72e6cd.zip |
Fixed tapset reference manual generation.
* doc/SystemTap_Tapset_Reference/Makefile.am: Check for file existence
before doing compare.
* doc/SystemTap_Tapset_Reference/Makefile.in: Regenerated.
* tapset/ioblock.stp: Fixed comment so that docs can be built.
Diffstat (limited to 'doc')
-rw-r--r-- | doc/SystemTap_Tapset_Reference/Makefile.am | 2 | ||||
-rw-r--r-- | doc/SystemTap_Tapset_Reference/Makefile.in | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/doc/SystemTap_Tapset_Reference/Makefile.am b/doc/SystemTap_Tapset_Reference/Makefile.am index 454b3331..109aaa9e 100644 --- a/doc/SystemTap_Tapset_Reference/Makefile.am +++ b/doc/SystemTap_Tapset_Reference/Makefile.am @@ -30,7 +30,7 @@ if BUILD_REFDOCS all: $(PDFDOCS) stamp-htmldocs stamp-mandocs tapsets.xml: docproc $(shell find $(SRCTREE)/tapset -name '*.stp') SRCTREE=$(SRCTREE) $(DOCPROC) doc $(abs_srcdir)/tapsets.tmpl > tapsets.xml.new - if cmp tapsets.xml.new tapsets.xml >/dev/null ; then \ + if test -s tapsets.xml && cmp tapsets.xml.new tapsets.xml >/dev/null ; then \ echo tapsets.xml unchanged; \ rm tapsets.xml.new; \ else \ diff --git a/doc/SystemTap_Tapset_Reference/Makefile.in b/doc/SystemTap_Tapset_Reference/Makefile.in index 5059b159..158c9b6b 100644 --- a/doc/SystemTap_Tapset_Reference/Makefile.in +++ b/doc/SystemTap_Tapset_Reference/Makefile.in @@ -470,7 +470,7 @@ uninstall-am: @BUILD_REFDOCS_TRUE@all: $(PDFDOCS) stamp-htmldocs stamp-mandocs @BUILD_REFDOCS_TRUE@tapsets.xml: docproc $(shell find $(SRCTREE)/tapset -name '*.stp') @BUILD_REFDOCS_TRUE@ SRCTREE=$(SRCTREE) $(DOCPROC) doc $(abs_srcdir)/tapsets.tmpl > tapsets.xml.new -@BUILD_REFDOCS_TRUE@ if cmp tapsets.xml.new tapsets.xml >/dev/null ; then \ +@BUILD_REFDOCS_TRUE@ if test -s tapsets.xml && cmp tapsets.xml.new tapsets.xml >/dev/null ; then \ @BUILD_REFDOCS_TRUE@ echo tapsets.xml unchanged; \ @BUILD_REFDOCS_TRUE@ rm tapsets.xml.new; \ @BUILD_REFDOCS_TRUE@ else \ |