~ubuntu-branches/ubuntu/trusty/spew/trusty

« back to all changes in this revision

Viewing changes to man/Makefile.in

  • Committer: Bazaar Package Importer
  • Author(s): Matt Taggart
  • Date: 2004-10-22 18:47:20 UTC
  • Revision ID: james.westby@ubuntu.com-20041022184720-ev90a5iekscqzw5z
Tags: 1.0.3-1
* Initial Release.
* Standard dh_make autoconf single binary package
* Adjust src/Makefile.am and man/Makefile.am to fix some problems
   installing to DESTDIR, run automake

Show diffs side-by-side

added added

removed removed

Lines of Context:
96
96
all: all-redirect
97
97
.SUFFIXES:
98
98
$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ Makefile.am $(top_srcdir)/configure.ac $(ACLOCAL_M4) 
99
 
        cd $(top_srcdir) && $(AUTOMAKE) --gnu --include-deps man/Makefile
 
99
        cd $(top_srcdir) && $(AUTOMAKE) --gnu man/Makefile
100
100
 
101
 
Makefile: $(srcdir)/Makefile.in  $(top_builddir)/config.status
 
101
Makefile: $(srcdir)/Makefile.in  $(top_builddir)/config.status $(BUILT_SOURCES)
102
102
        cd $(top_builddir) \
103
103
          && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
104
104
 
150
150
subdir = man
151
151
 
152
152
distdir: $(DISTFILES)
 
153
        here=`cd $(top_builddir) && pwd`; \
 
154
        top_distdir=`cd $(top_distdir) && pwd`; \
 
155
        distdir=`cd $(distdir) && pwd`; \
 
156
        cd $(top_srcdir) \
 
157
          && $(AUTOMAKE) --include-deps --build-dir=$$here --srcdir-name=$(top_srcdir) --output-dir=$$top_distdir --gnu man/Makefile
153
158
        @for file in $(DISTFILES); do \
154
159
          d=$(srcdir); \
155
160
          if test -d $$d/$$file; then \
229
234
        sed -e 's/SPEW_VERSION/$(VERSION)/' $^ >$@
230
235
 
231
236
install-data-local:
232
 
        (cd $(mandir)/man1 && $(LN_S) -f spew.1 snarf.1)
233
 
        (cd $(mandir)/man1 && $(LN_S) -f spew.1 regorge.1)
 
237
        (cd $(DESTDIR)$(mandir)/man1 && $(LN_S) -f spew.1 snarf.1)
 
238
        (cd $(DESTDIR)$(mandir)/man1 && $(LN_S) -f spew.1 regorge.1)
234
239
 
235
240
help2man:
236
241
        help2man --section=1 --no-info --name="measures I/O performance and/or generates I/O load" --include="spew.1.include" --output=spew.1.in ../src/spew