File: rules

package info (click to toggle)
hiki 0.8.6-1etch1
  • links: PTS
  • area: main
  • in suites: etch
  • size: 1,772 kB
  • ctags: 1,746
  • sloc: ruby: 20,067; lisp: 926; sh: 269; makefile: 10
file content (17 lines) | stat: -rwxr-xr-x 1,082 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/usr/bin/make -f
# Sample debian/rules that uses cdbs.  Originaly written by Robert Millan.
# This file is public domain.


include /usr/share/cdbs/1/rules/debhelper.mk

install/hiki::
	cp -r data hiki messages misc plugin style template theme $(CURDIR)/debian/hiki/usr/share/hiki
	find $(CURDIR)/debian/hiki -type d -name CVS -print | xargs rm -rf
	find $(CURDIR)/debian/hiki -name \*.rb -print | xargs chmod 644
	install -m 755 hiki.cgi $(CURDIR)/debian/hiki/usr/share/hiki/hiki.cgi
	install -m 755 debian/hikisetup $(CURDIR)/debian/hiki/usr/bin/hikisetup
	install -m 644 hikiconf.rb.sample $(CURDIR)/debian/hiki/usr/share/doc/hiki/examples/hikiconf.rb.sample.ja
	mv $(CURDIR)/debian/hiki/usr/share/hiki/misc/i18n/hikiconf.rb.sample.en $(CURDIR)/debian/hiki/usr/share/doc/hiki/examples/hikiconf.rb.sample.en && rmdir $(CURDIR)/debian/hiki/usr/share/hiki/misc/i18n
	mv $(CURDIR)/debian/hiki/usr/share/hiki/data/text $(CURDIR)/debian/hiki/usr/share/hiki/misc/text/default.ja
#	perl -i -npe 's!/usr/bin/env ruby!/usr/bin/ruby1.8!' `find $(CURDIR)/debian/hiki -name '*.cgi' -print`