4 |
|
## makefile-engine will do all of the hard work for you. This handles both |
5 |
|
## Intel and PowerPC builds of the BeOS. |
6 |
|
|
7 |
< |
# Version number |
8 |
< |
SP_VERSION = 4.0 |
7 |
> |
# Get version number from configure.in |
8 |
> |
version := $(shell grep <configure.in INIT_AUTOMAKE | sed -e 's/.*\[//' -e 's/\].*//') |
9 |
|
|
10 |
|
## Application Specific Settings --------------------------------------------- |
11 |
|
|
117 |
|
ln -s ../Frodo/src/$@ $@ |
118 |
|
|
119 |
|
# Create binary distribution |
120 |
< |
DISTDIR = SIDPlayer-$(SP_VERSION) |
121 |
< |
ARCHIVE = SIDPlayer-$(SP_VERSION)-$(CPU).zip |
120 |
> |
distdir = SIDPlayer-$(version) |
121 |
|
dist: $(TARGET) |
122 |
< |
-rm -rf $(DISTDIR) |
123 |
< |
mkdir $(DISTDIR) |
124 |
< |
cp COPYING README $(DISTDIR) |
125 |
< |
cp $(TARGET) $(DISTDIR)/SIDPlayer |
126 |
< |
cp -R "PSID Demo" $(DISTDIR) |
127 |
< |
rm -rf $(DISTDIR)/"PSID Demo/CVS" |
128 |
< |
mimeset -f $(DISTDIR) |
129 |
< |
zip -r $(ARCHIVE) $(DISTDIR) |
130 |
< |
rm -rf $(DISTDIR) |
122 |
> |
-rm -rf $(distdir) |
123 |
> |
mkdir $(distdir) |
124 |
> |
cp COPYING README $(distdir) |
125 |
> |
cp $(TARGET) $(distdir)/SIDPlayer |
126 |
> |
cp -R "PSID Demo" $(distdir) |
127 |
> |
rm -rf $(distdir)/"PSID Demo/CVS" |
128 |
> |
mimeset -f $(distdir) |
129 |
> |
zip -r $(distdir)-$(CPU).zip $(distdir) |
130 |
> |
rm -rf $(distdir) |