[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: defaults for every kde package?



fyi..this looks like it came out of kde-admin  (admin/acinclude)

> I wanted to attach something, sorry:
> 
> if test -z "$kde_htmldir"; then
>   kde_htmldir='$(prefix)/share/doc/HTML'
> fi

  needs to be $(prefix)/share/doc/kde/HTML

> if test -z "$kde_cgidir"; then
>   kde_cgidir='$(exec_prefix)/cgi-bin'
> fi

  needs to be /usr/lib/cgi-bin


> if test -z "$kde_confdir"; then
>   kde_confdir='$(prefix)/share/config'
> fi

  needs to be /etc/kde2


Adding the debianrules script to your debian/ subdir and then adding this
to your rules script would take care of most of this for you (as long
as the app was written correctly)



build: build-stamp
 
-include debian/debiandirs
 
debian/debiandirs: debian/debianrules
	perl -w debian/debianrules echodirs > debian/debiandirs
 
build-stamp:
	dh_testdir

all this does is export all the possible variables into your build 
environment.

The debianrules script can be found in kdelibs/admin or in the kde-admin
package (in cvs).

Ivan



-- 
----------------
Ivan E. Moore II
rkrusty@tdyc.com
http://snowcrash.tdyc.com
GPG KeyID=90BCE0DD
GPG Fingerprint=F2FC 69FD 0DA0 4FB8 225E 27B6 7645 8141 90BC E0DD



Reply to: