Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
chromebrew
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
chromebrew
Commits
89b18e3b
Commit
89b18e3b
authored
Jun 26, 2017
by
Kazushi (Jam) Marukawa
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Change crew to use compressdoc in order to compress manual files.
parent
84757cdb
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
crew
crew
+3
-3
No files found.
crew
View file @
89b18e3b
...
...
@@ -28,7 +28,7 @@ else
end
#
Set
CREW_NOT_COMPRESS
from
environment
variable
CREW_NOT_COMPRESS
=
ENV
[
"CREW_NOT_COMPRESS"
]
CREW_NOT_COMPRESS
=
`
bash
-
c
"type compressdoc 2> /dev/null"
`.
empty
?
||
ENV
[
"CREW_NOT_COMPRESS"
]
#
Set
CREW_NOT_STRIP
from
environment
variable
CREW_NOT_STRIP
=
ENV
[
"CREW_NOT_STRIP"
]
...
...
@@ -428,8 +428,8 @@ end
def
prepare_package
(
destdir
)
Dir
.
chdir
destdir
do
#
compress
manual
files
system
"
find usr/local/man -type f -print | xargs gzip -9 2>
/dev/null"
unless
CREW_NOT_COMPRESS
system
"
find usr/local/share/man -type f -print | xargs gzip -9 2>
/dev/null"
unless
CREW_NOT_COMPRESS
system
"
compressdoc --gzip -9 #{destdir}#{CREW_PREFIX}/man >
/dev/null"
unless
CREW_NOT_COMPRESS
system
"
compressdoc --gzip -9 #{destdir}#{CREW_PREFIX}/share/man >
/dev/null"
unless
CREW_NOT_COMPRESS
#
create
directory
list
system
"find . -type f > ../filelist"
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment