Files
gnucash/debian/rules
Dave Peticolas 6290fdae4a James LewisMoss's patch with:
1) More meta data updates (.cvsignore updates, debian/* updates,
   gnucash.lsm)
2) Changes to make-gnucash-patch.in.  I like the changes, but I don't
   know whether they would be universally liked, so pay attention to
   this one.  Changes include:
   a) check out compared source from cvs
   b) use .cvsignore files to get a large part of the --exclude list.
   c) Keep track of past patches by not automatically overwriting old
      patches and put the patches in a directory to keep things neat.
3) Refactoring in src/engine/Transaction.c to remove the redundant
   code setting dates in transactions.
4) remove all the #if 0 blocks in src/engine/io-gnc{bin,xml}* (helped
   my see things more clearly when looking at the code.  Again ignore
   it if this is inappropriate.)
5) append emacs local variable settings stuff to save file so it's
   known as an xml file.
6) Patch to cleanup startup some more.
   a) src/gnome/top-level.c: don't run load-account-file, split up
      startup into a couple of functions.
   b) src/gnome/window-main.h; src/gulie/gnc.gwp: add the new functions
   c) src/scm/main.scm: do the new startup sequence.
   d) All this so in a batch environment you can start up the gui
      system without bringing up the default window.
7) src/scm/report/budget-report.scm: some refactoring/cleanup done
   while looking at the code.  Nothing functional different (at least
   there shouldn't be.)


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@3320 57a11ea4-9604-0410-9ed3-97b8803252fd
2000-12-19 07:59:44 +00:00

91 lines
2.1 KiB
Makefile

#!/usr/bin/make -f
# Sample debian/rules that uses debhelper. GNU copyright 1997 by Joey Hess.
# Adapted for gnucash by Dirk Eddelbuettel. March 1999. GPL'ed
# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1
package=gnucash
id= $(shell pwd)/debian/tmp
#perlpriv = $(id)$(shell perl -V:installprivlib | perl -pe 's/.*\'(.*)\'.*/\1/;')
#perlarch = $(id)$(shell perl -V:installarchlib | perl -pe 's/.*\'(.*)\'.*/\1/;')
Makefile: Makefile.in
dh_testdir
$(checkdir)
./configure --prefix=/usr \
--sysconfdir=/etc \
--infodir=/usr/share/info \
--mandir=/usr/share/man
build: Makefile build-stamp
build-stamp:
dh_testdir
$(checkdir)
make
touch build-stamp
clean:
dh_testdir
dh_testroot
rm -f build-stamp install-stamp
-$(MAKE) distclean
-rm `find . -name "*.cache"`
-rm `find . -name "*.log"`
dh_clean
install: install-stamp
install-stamp: build-stamp
dh_testdir
dh_testroot
dh_clean -k
dh_installdirs
make install prefix=$(id)/usr sysconfdir=$(id)/etc GNC_DOC_INSTALL_DIR=$(id)/usr/share/doc/gnucash infodir=$(id)/usr/share/info mandir=$(id)/usr/share/man
rm -f $(id)/usr/share/doc/gnucash/COPYING.gz
# no perl anymore
#mkdir -p $(perlpriv)
#mv $(id)/usr/share/gnucash/perl/gnucash.pm $(perlpriv)
#mkdir -p $(perlarch)
#mv $(id)/usr/share/gnucash/perl/* $(perlarch)
#-rmdir -p $(id)/usr/share/gnucash/perl
touch install-stamp
binary-indep: build install
binary-arch: build install
# dh_testversion
dh_testdir
dh_testroot
dh_installdocs
dh_installexamples doc/examples/*.xac
dh_installmenu
# dh_installemacsen
# dh_installinit
dh_installcron
dh_installmanpages
# dh_undocumented gnc-prices.1 gnucash.1x gnucash.motif.1x
dh_installchangelogs ChangeLog
# dh_strip
# cp src/.libs/gnucash $(id)/usr/bin/gnucash.debug
dh_compress
dh_fixperms
dh_suidregister
dh_installdeb
dh_shlibdeps
dh_gencontrol
# dh_makeshlibs
dh_md5sums
dh_builddeb
source diff:
@echo >&2 'source and diff are obsolete - use dpkg-source -b'; false
binary: binary-indep binary-arch
.PHONY: build clean binary-indep binary-arch binary install