File: rules

package info (click to toggle)
webgen 0.3.8-3
  • links: PTS
  • area: main
  • in suites: lenny, squeeze
  • size: 1,912 kB
  • ctags: 586
  • sloc: ruby: 4,789; makefile: 9
file content (22 lines) | stat: -rwxr-xr-x 651 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#!/usr/bin/make -f

include /usr/share/cdbs/1/rules/debhelper.mk
include /usr/share/ruby-pkg-tools/1/class/ruby-setup-rb.mk

DEB_RUBY_CONFIG_ARGS = --prefix=/usr --site-ruby-common=$(DEB_RUBY_LIBDIR) --site-ruby=$(DEB_RUBY_LIBDIR)
DEB_RUBY_CLEAN_TARGET = clean

install/webgen::
	sed -i -e "s=^#! */usr/bin/ruby.*$$=#!/usr/bin/ruby=g" \
		debian/webgen/usr/bin/webgen
	rm -f debian/webgen/usr/bin/webgen-gallery-editor
	rm -f debian/webgen/usr/bin/webgen-gui



#install/webgen-gui::
#	ruby setup.rb install --prefix=debian/webgen-gui
#	rm -f debian/webgen-gui/usr/bin/webgen
#	rm -rf debian/webgen-gui/usr/lib/
#	rm -rf debian/webgen-gui/usr/share/