Refactor favourite implementation and add some tests.
[recordtv.git] / Makefile
blobae323c90b0e505c6c740b8d6e13fba3a3dd32d1b
1 ## Process this file with automake to produce Makefile.in
3 APP_NAME=recordtv
4 TMP_DIR=/tmp/$(APP_NAME)
5 VERSION=0.0.1
7 pkg-src:
8 mkdir -p pkg
9 - rm -f pkg/$(APP_NAME)-*.tar.bz2
10 - rm -r $(TMP_DIR)
11 mkdir $(TMP_DIR)
12 cg-export $(TMP_DIR)/$(APP_NAME)-$(VERSION)/
13 tar --exclude uploadweb.sh --directory $(TMP_DIR)/ -cjf pkg/$(APP_NAME)-$(VERSION).tar.bz2 \
14 $(APP_NAME)-$(VERSION)
15 rm -r $(TMP_DIR)
17 # Push the current source code to my git repository
18 git-upload:
19 - rm -r $(TMP_DIR)
20 git-repack -d
21 git clone --bare -l . $(TMP_DIR)/$(APP_NAME).git
22 rsync -r --delete $(TMP_DIR)/$(APP_NAME).git/ \
23 artific2@artificialworlds.net:public_html/$(APP_NAME)/git/$(APP_NAME).git/
24 rm -rf $(TMP_DIR);