Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
T
tor
Manage
Activity
Members
Labels
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
The Tor Project
Core
debian
tor
Commits
8b79e5e4
Commit
8b79e5e4
authored
15 years ago
by
Peter Palfrader
Browse files
Options
Downloads
Patches
Plain Diff
Try to build manpages
parent
6cdce43f
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
debian/changelog
+2
-1
2 additions, 1 deletion
debian/changelog
debian/rules
+12
-1
12 additions, 1 deletion
debian/rules
with
14 additions
and
2 deletions
debian/changelog
+
2
−
1
View file @
8b79e5e4
...
...
@@ -11,7 +11,8 @@ tor (0.2.2.9-alpha-1) experimental; urgency=low
build-depend on asciidoc, and update 03_tor_manpage_in_section_8
to patch the .txt files now. Remove tor.1.in torify.1.in
tor-gencert.1.in tor-resolve.1.in in the doc directory during
clean.
clean. Oh, and try to work around missing (and if it wasn't,
broken) build-system for the manpages.
- The original design paper is no longer shipped with Tor. Remove
debian/hexdump-*.pdf (which we used to work around fig2dev bugs),
no longer build the paper in debian/rules, and remove it from
...
...
This diff is collapsed.
Click to expand it.
debian/rules
+
12
−
1
View file @
8b79e5e4
...
...
@@ -69,6 +69,8 @@ endif
export
LDFLAGS
export
CFLAGS
MANPAGE_INS
=
doc/tor.1.in doc/torify.1.in doc/tor-gencert.1.in doc/tor-resolve.1.in
configure
:
patch-stamp
config.status
:
configure
# clean up test.h stuff. XXX - expected to no longer be needed after tor-0.2.2.4-alpha
...
...
@@ -92,6 +94,15 @@ build-stamp: config.status
dh_testdir
!
[
debian/micro-revision.i
]
||
cp
debian/micro-revision.i src/or/micro-revision.i
# create the manpages because the build-system shipped in the tarball is
# incomplete. moving foo.8 to foo.1.in is intended.
for
manpage
in
$(MANPAGE_INS);
do
\
base
=
"
$${
manpage%%.1.in
}
"
;
\
a2x
-f
manpage
"
$$
base"
.1.txt
&&
\
if
[
-e
"
$$
base"
.1
]
;
then
mv
"
$$
base"
.1
"
$$
base"
.1.in
;
\
elif
[
-e
"
$$
base"
.8
]
;
then
mv
"
$$
base"
.8
"
$$
base"
.1.in
;
\
else
echo
>
&2
"No output produced by a2px?"
&&
exit
1
;
fi
||
exit
1
;
\
done
$(MAKE)
@echo
@echo
...
...
@@ -123,7 +134,7 @@ clean: unpatch
fi
# these get autobuilt from the .txt files, some of which we also patch
cd
doc
&&
rm
-f
tor.1.in
torify.1.in
tor-gencert.1.in
tor-resolve.1.in
rm
-f
$(MANPAGE_INS)
dh_clean
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment