* more updates

This commit is contained in:
peter 1999-09-28 22:30:42 +00:00
parent bb74ee227d
commit ad08b83b05
2 changed files with 9 additions and 7 deletions

View File

@ -18,6 +18,6 @@ echo 'FPCVersion : ' $FPCVERSION
for i in $1/*.in
do
j=${i/.in/}
sed -e s/'#FPCVERSION#'/$FPCVERSION/ $i > $j
sed -e s/'#PACKAGEVERSION#'/$PACKAGEVERSION/ $i > $j
sed -e s/'#FPCVERSION#'/$FPCVERSION/g $i > $j
sed -e s/'#PACKAGEVERSION#'/$PACKAGEVERSION/g $i > $j
done

View File

@ -5,13 +5,15 @@
export FPCMAKE=
export FPCDIR=
# Get current dir
PWD=$(shell pwd)
# Documentation type to use pdf/html
DOCTYPE=pdf
INSTALL_VERSION=$(shell cat base/VERSION)
# Get Package version and FPC version out of changelog file
PACKAGEVERSION=$(shell head -n 1 debian/changelog | awk '{ print $$2 }' | tr -d '[()]')
FPCVERSION=$(shell echo $(PACKAGEVERSION) | awk -F '-' '{ print $$1 }')
# Get directories
PWD=$(shell pwd)
BUILD_DIR=$(PWD)/debian/build
INSTALL_DIR=$(PWD)/debian/tmp
NEWPP=$(PWD)/compiler/ppc386
@ -127,7 +129,7 @@ install-indep-stamp: debian-files build-indep
dh_testroot
dh_clean
$(MAKE) -C docs $(DOCTYPE)install DOCINSTALLDIR=$(INSTALL_DIR)/usr/doc/fpc/$(INSTALL_VERSION)/
$(MAKE) -C docs $(DOCTYPE)install DOCINSTALLDIR=$(INSTALL_DIR)/usr/share/doc/fpc/$(FPCVERSION)/
touch install-indep-stamp