$(MAKE) -C archlinux/this/
$(MAKE) -C archlinux/this/ CARCH=i686
$(MAKE) -C win32/
+ $(MAKE) -C slackware/this/
+ $(MAKE) -C slackware/this/ CARCH=i686
@mv deb/*.deb ./
@mv archlinux/this/*pkg.tar.xz ./
@mv win32/*.zip ./
+ @mv slackware/this/*.txz ./
upload:
@echo "APPKEY:76vh3q42hnvmzm3" > dropbox_config
@wget -q "http://raw.github.com/andreafabrizi/Dropbox-Uploader/master/dropbox_uploader.sh"
@chmod +x dropbox_uploader.sh
@sed -i -e "s/~\/.dropbox_uploader/.\/dropbox_config/g" $$(basename $(DROPBOX))
- @find . -type f -regex ".*/.*\.\(xz\|deb\|zip\)" -exec ./$$(basename $(DROPBOX)) upload {} \;
+ @find . -type f -regex ".*/.*\.\(xz\|deb\|zip\|txz\)" -exec ./$$(basename $(DROPBOX)) upload {} \;
@rm dropbox_config dropbox_uploader.sh
website:
@rm -f *.zip
@rm -f *.gen
@rm -f *.html
+ @rm -f *.txz
all: base upload
MINOR := $(shell sed -n -e '/GMQCC_VERSION_MINOR/{s/.* .* //;p;q;}' $(HEADER))
PATCH := $(shell sed -n -e '/GMQCC_VERSION_PATCH/{s/.* .* //;p;q;}' $(HEADER))
CARCH := $(shell uname -m)
-PKGDIR := gmqcc-$(MAJOR).$(MINOR).$(PATCH)-$(CARCH)-git
+PKGDIR := gmqcc-$(MAJOR).$(MINOR).$(PATCH)-$(CARCH)
PKG := $(PKGDIR).txz
PKGINFO := $(PKGDIR)/.PKGINFO
DESTDIR := distro/slackware/this/$(PKGDIR)
#define DEBIAN_64_REF "%sgmqcc-%c.%c.%c-x86_64.deb%s"
#define WINDOWS_32_REF "%sgmqcc-%c.%c.%c-win32.zip%s"
#define WINDOWS_64_REF "%sgmqcc-%c.%c.%c-win64.zip%s"
+#define SLACKWARE_32_REF "%sgmqcc-%c.%c.%c-i686.txz%s"
+#define SLACKWARE_64_REF "%sgmqcc-%c.%c.%c-x86_64.txz%s"
+
#define HTML "\
<!doctype html>\
<td><a href=\"%s\">Download</a></td>\
<td><a href=\"%s\">Download</a></td>\
</tr>\
+ <tr>\
+ <td>Slackware</td>\
+ <td><a href=\"%s\">Download</a></td>\
+ <td><a href=\"%s\">Download</a></td>\
<tr>\
<td>Windows</td>\
<td><a href=\"%s\">Download</a></td>\
static char build_table[][4096] = {
ARCHLINUX_32_REF, ARCHLINUX_64_REF,
DEBIAN_32_REF, DEBIAN_64_REF,
+ SLACKWARE_32_REF, SLACKWARE_64_REF,
WINDOWS_32_REF, WINDOWS_64_REF
};
/* </tag> */