npmignore + gitignore
authoradam <adamansky@gmail.com>
Thu, 25 Apr 2013 06:13:02 +0000 (13:13 +0700)
committeradam <adamansky@gmail.com>
Thu, 25 Apr 2013 06:13:02 +0000 (13:13 +0700)
.gitignore
Makefile [new file with mode: 0644]

index 99e48e4..31a108e 100644 (file)
@@ -22,7 +22,6 @@
 *.tgz
 .dep.inc
 
-/Makefile
 addressbook*
 autom4te.cache/
 config.log
diff --git a/Makefile b/Makefile
new file mode 100644 (file)
index 0000000..1348d8c
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,43 @@
+
+all: init
+       $(MAKE) -C ./tcejdb
+
+clean:
+       - $(MAKE) -C ./tcejdb clean
+       - rm -rf ./build
+       - rm -rf ./var/*
+       - rm -f *.upload
+       - rm -f libtcejdb*.tar.gz libtcejdb*.deb libtcejdb*.changes libtcejdb*.build libtcejdb*.dsc
+       - rm -f python*.tar.gz python*.deb python*.changes python*.build python*.dsc
+       - rm -f lua*.tar.gz lua*.deb lua*.changes lua*.build lua*.dsc
+
+deb-packages: deb-packages-tcejdb deb-packages-pyejdb deb-packages-luaejdb;
+
+deb-packages-tcejdb: init
+       $(MAKE) -C ./tcejdb deb-packages
+
+deb-packages-pyejdb: init
+       $(MAKE) -C ./pyejdb deb-packages
+
+deb-packages-luaejdb: init
+       $(MAKE) -C ./luaejdb deb-packages
+
+deb-source-packages:
+       $(MAKE) -C ./ deb-packages DEBUILD_OPTS="-S"
+
+deb-source-packages-tcejdb:
+       $(MAKE) -C ./ deb-packages-tcejdb DEBUILD_OPTS="-S"
+
+deb-source-packages-pyejdb:
+       $(MAKE) -C ./ deb-packages-pyejdb DEBUILD_OPTS="-S"
+
+deb-source-packages-luaejdb:
+       $(MAKE) -C ./ deb-packages-luaejdb DEBUILD_OPTS="-S"
+
+init:
+       cd ./tcejdb && ./configure
+       $(MAKE) -C ./tcejdb version
+       cp ./Changelog ./tcejdb/Changelog
+
+
+.PHONY: all clean deb-packages deb-source-packages init initdeb