[fpc-pascal] fpcmake: setting names of zip files
Marc Santhoff
UTK-Molchtechnik at t-online.de
Wed Aug 8 10:13:20 CEST 2007
Am Mittwoch, den 08.08.2007, 07:59 +0200 schrieb Peter Vreman:
> > 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?
>
> The variable FULLZIPNAME can be set for this.
>
> See the generated Makefile how the variables are set and which default values are taken.
So there is no reserved section and keyword for this task.
Actually I had to use $ZIPNAME for making it work, but it is done now. I
think that's a matter of using fpc 2.0.2 and 2.0.4 ...
If anyone is interested:
ZIPNAME=$(ZIPPREFIX)$(PACKAGE_NAME)-$(PACKAGE_VERSION).$(ZIPSUFFIX)
gives me the desired name plus the obvious "freebsd" for target OS or
"src" inserted, which I'm happy with.
One (hopefully) last question:
How is the [zip] section and the "name" keyword I tried expected to
work, what does it do?
Many thanks,
Marc
More information about the fpc-pascal
mailing list