]> Cypherpunks.ru repositories - goircd.git/blobdiff - GNUmakefile
Replace Makefile with redo, keep version in source code
[goircd.git] / GNUmakefile
diff --git a/GNUmakefile b/GNUmakefile
deleted file mode 100644 (file)
index d8024b8..0000000
+++ /dev/null
@@ -1,20 +0,0 @@
-VERSION = $(shell git describe --tags)
-BUILD_TMP ?= .rpm_tmp
-DEB_MAINTAINER ?= mengzhuo1203@gmail.com
-
-include common.mk
-
-.PHONY: deb
-deb:
-       rm -rf ${BUILD_TMP}
-       mkdir -p ${BUILD_TMP}/usr/local/bin/
-       mkdir -p ${BUILD_TMP}/var/log/goircd
-       mkdir -p ${BUILD_TMP}/etc/systemd/system/
-       cp goircd ${BUILD_TMP}/usr/local/bin/
-       cp startup/goircd.service ${BUILD_TMP}/etc/systemd/system/
-       fpm -s dir -t deb -n goircd -v ${VERSION} \
-        -m $(DEB_MAINTAINER) \
-        --deb-compression=bzip2 \
-        --verbose \
-        -d logrotate \
-        -C ${BUILD_TMP}