Commits

Anonymous committed 7d93d61

Add a release builder make target.

Comments (0)

Files changed (1)

 LIB_DIR       = @libdir@$(VERSION_DIR)
 BIN_DIR       = @bindir@
 TOOLS_DIR     = @libdir@$(VERSION_DIR)@slash@tools
+CUR_DIR       = .
 
 
 # Various paths
 testclean:
 
 
+release : MANIFEST
+	[ -d pynie-$(VERSION) ] || ln -s $(CUR_DIR) pynie-$(VERSION)
+	$(PERL) -lane 'print"pynie-$(VERSION)/$$F[0]"unless!length||/#/' MANIFEST | \
+              tar -zcv -T - -f pynie-$(VERSION).tar.gz
+	rm pynie-$(VERSION)
+
+
+
 # a listing of all targets meant to be called by users
 help:
 	@echo ""