Hi again,

how can the name of the files created by the targets "zipinstall" and
"zipsourceinstall" be influenced?

I've tried this way:

<Makefile.fpc>
[prerules]
pretest:
        echo $(ZIPNAME)
        echo $(ZIP_ZIPNAME)

[target]
programs=cnfdat2h5

[package]
name=cnfdat2h5
version=0.1

[compiler]
options=-B
targetdir=obj

[dist]
destdir=$(BASEDIR)/dist
#destdir=$(shell pwd)/dist

[default]
fpcdir=/home/marc/fpc/share/src/fpc-2.0.2

[zip]
zipname=MyZipName
</Makefile.fpc>

to no avail:

<console>
$ fpcmake
Processing Makefile.fpc
 freebsd-i386 requires: rtl
 freebsd-m68k requires: rtl
 freebsd-x86_64 requires: rtl
 Writing Makefile
$ gmake pretest
echo cnfdat2h5freebsd
cnfdat2h5freebsd
echo 

$ 
</console>

Running the zipinstall and zipsourceinstall targets give me files with
the unchanged standard name. The final goal would be to have a name
formed like

        $(PACKAGE_NAME)-$(PACKAGE_VERSION).tar.gz

for distribution.

How can it be done?

TIA,
Marc


_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Reply via email to