Skip to content
Snippets Groups Projects
Commit c0f64104 authored by Peter Palfrader's avatar Peter Palfrader
Browse files

Two debian/rules fixes

- Make manpage building properly depend on patch-stamp,
- Fix building in the absence of a debian/micro-revision.i file.
parent a0e25da6
No related branches found
No related tags found
No related merge requests found
tor (0.2.2.9-alphXXXXXXX) XXXerimental; urgency=low
* debian/rules:
- make manpage building properly depend on patch-stamp,
- Fix building in the absence of a debian/micro-revision.i file.
-- Peter Palfrader <weasel@debian.org> Wed, 03 Mar 2010 23:51:35 +0100
tor (0.2.2.9-alpha-1) experimental; urgency=low
* New upstream version.
......
......@@ -88,7 +88,7 @@ build: build-stamp
# create the manpages here because the build-system shipped in the tarball is
# incomplete. moving foo.8 to foo.1.in is intended.
doc/%.1.in: doc/%.1.txt
doc/%.1.in: doc/%.1.txt patch-stamp
target="$@"; base="$${target%%.1.in}"; \
a2x -f manpage "$$base".1.txt && \
if [ -e "$$base".1 ]; then mv "$$base".1 "$$base".1.in; \
......@@ -97,7 +97,7 @@ doc/%.1.in: doc/%.1.txt
build-stamp: config.status $(MANPAGE_INS)
dh_testdir
! [ debian/micro-revision.i ] || cp debian/micro-revision.i src/or/micro-revision.i
! [ -e debian/micro-revision.i ] || cp debian/micro-revision.i src/or/micro-revision.i
# Also touch all the .html files or else the build system will
# try to re-create them and fail badly
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment