Skip to content

Commit

Permalink
* Removed debian/pugs-doc.{docs,install}
Browse files Browse the repository at this point in the history
* Cleaned up debian/rules
* Install documentation in the right place
* Fixed debian/changelog

git-svn-id: http://svn.pugscode.org/pugs@5251 c213334d-75ef-0310-aa23-eaa082d1ae64
  • Loading branch information
rafl committed Jul 6, 2005
1 parent 94af706 commit ec3fbdf
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 71 deletions.
4 changes: 4 additions & 0 deletions debian/changelog
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
pugs (6.2.7-1) experimental; urgency=low

* New upstream version.
* Generate manpages for binaries.
* Don't install gen_prelude and extra license files.
* Make it policy compliant.
* Cleaned up debian/rules.

-- Florian Ragwitz <[email protected]> Wed, 6 Jul 2005 05:14:39 +0200

Expand Down
Empty file removed debian/pugs-doc.docs
Empty file.
Empty file removed debian/pugs-doc.install
Empty file.
76 changes: 5 additions & 71 deletions debian/rules
Original file line number Diff line number Diff line change
@@ -1,22 +1,4 @@
#!/usr/bin/make -f
# -*- makefile -*-
# Sample debian/rules that uses debhelper.
#
# This file was originally written by Joey Hess and Craig Small.
# As a special exception, when this file is copied by dh-make into a
# dh-make output file, you may use that output file without restriction.
# This special exception was added by Craig Small in version 0.37 of dh-make.
#
# Modified to make a template file for a multi-binary package with separated
# build-arch and build-indep targets by Bill Allombert 2001

# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1

# This has to be exported to make some magic below work.
export DH_OPTIONS



CFLAGS = -Wall -g

Expand All @@ -29,69 +11,43 @@ endif
configure: configure-stamp
configure-stamp:
dh_testdir
# Add here commands to configure the package.

perl Makefile.PL INSTALLDIRS=vendor
touch configure-stamp


#Architecture
build: build-arch build-indep

build-arch: build-arch-stamp
build-arch-stamp: configure-stamp

# Add here commands to compile the arch part of the package.
#$(MAKE)

perl Makefile.PL INSTALLDIRS=vendor
# $(MAKE) optimized
$(MAKE) unoptimized
$(MAKE) optimized
pod2man --section=1 --release="Debian Project" --center="Debian GNU/Linux manual" $(CURDIR)/lib/pugs/run.pod $(CURDIR)/debian/pugs.1
pod2man --section=1 --release="Debian Project" --center="Debian GNU/Linux manual" $(CURDIR)/script/pugscc $(CURDIR)/debian/pugscc.1
touch build-arch-stamp

build-indep: build-indep-stamp
build-indep-stamp: configure-stamp

# Add here commands to compile the indep part of the package.
#$(MAKE) doc

touch build-indep-stamp

clean:
dh_testdir
dh_testroot
rm -f build-arch-stamp build-indep-stamp configure-stamp debian/pugs.1 debian/pugscc.1

# Add here commands to clean up after the build process.
-$(MAKE) realclean

dh_clean

install: install-indep install-arch
install-indep:
dh_testdir
dh_testroot
#dh_clean -k -i
#dh_installdirs -i

# Add here commands to install the indep part of the package into
# debian/<package>-doc.
#INSTALLDOC#

dh_install -i --sourcedir=$(CURDIR)/debian/tmp
dh_installdirs
cp -r $(CURDIR)/docs/* $(CURDIR)/debian/pugs-doc/usr/share/doc/pugs-doc/
rm -f $(CURDIR)/debian/pugs-doc/usr/share/doc/pugs-doc/SEEALSO

install-arch:
dh_testdir
dh_testroot
#dh_clean -k -s
dh_installdirs -s

# Add here commands to install the arch part of the package into
# debian/tmp.
$(MAKE) install DESTDIR=$(CURDIR)/debian/tmp
cp util/perl6.vim $(CURDIR)/debian/pugs/usr/share/vim/vim63/syntax/

dh_install -s --sourcedir=$(CURDIR)/debian/tmp
rm -f $(CURDIR)/debian/pugs/usr/lib/perl6/5.8/CORE/pugs/gen_prelude \
$(CURDIR)/debian/pugs/usr/lib/perl6/5.8/CORE/pugs/Pugs/Rule/LICENSE \
Expand All @@ -106,22 +62,11 @@ binary-indep: build-indep install-indep
dh_installchangelogs -i ChangeLog
dh_installdocs -i
dh_installexamples -i
# dh_installmenu -i
# dh_installdebconf -i
# dh_installlogrotate -i
# dh_installemacsen -i
# dh_installpam -i
# dh_installmime -i
# dh_installinit -i
# dh_installcron -i
# dh_installinfo -i
dh_installman -i
dh_link -i
dh_compress -i
dh_fixperms -i
dh_strip -i
# dh_perl -i
# dh_python -i
dh_makeshlibs -i
dh_installdeb -i
dh_shlibdeps -i
Expand All @@ -136,22 +81,11 @@ binary-arch: build-arch install-arch
dh_installchangelogs -a ChangeLog
dh_installdocs -a
dh_installexamples -a
# dh_installmenu -a
# dh_installdebconf -a
# dh_installlogrotate -a
# dh_installemacsen -a
# dh_installpam -a
# dh_installmime -a
# dh_installinit -a
# dh_installcron -a
# dh_installinfo -a
dh_installman -a debian/pugs.1 debian/pugscc.1
dh_link -a
dh_compress -a
dh_fixperms -a
dh_strip -a
# dh_perl -a
# dh_python -a
dh_makeshlibs -a
dh_installdeb -a
dh_shlibdeps -a
Expand Down

0 comments on commit ec3fbdf

Please sign in to comment.