From ed5f71724eab6aefa4f8205f111c3c0c4eb40843 Mon Sep 17 00:00:00 2001 From: David Carlos Date: Tue, 8 Sep 2015 11:14:06 -0300 Subject: [PATCH] Creates colab-spb-theme-plugin makefile. --- Makefile | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+), 0 deletions(-) create mode 100644 Makefile diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..04a4ebf --- /dev/null +++ b/Makefile @@ -0,0 +1,22 @@ +PACKAGE = colab-spb-theme-plugin +VERSION = 0.2 +DISTDIR = $(PACKAGE)-$(VERSION) +TARBALL = $(DISTDIR).tar.gz + +all: + @echo Nothing to be $@, all good. + +colab_dir=/usr/lib/colab + +dist: clean + mkdir $(DISTDIR) + tar --exclude=.git --exclude=$(DISTDIR) -cf - * | (cd $(DISTDIR) && tar xaf -) + tar --exclude=.git -caf $(TARBALL) $(DISTDIR) + rm ~/rpmbuild/SOURCES/$(TARBALL) && cp $(TARBALL) ~/rpmbuild/SOURCES/ +clean: + $(RM) $(TARBALL) + $(RM) -r $(DISTDIR) + +install: + install -d -m 0755 $(DESTDIR)/$(colab_dir)/colab-spb-theme-plugin + cp -vr . $(DESTDIR)/$(colab_dir)/colab-spb-theme-plugin -- libgit2 0.21.2