Commit ed5f71724eab6aefa4f8205f111c3c0c4eb40843
1 parent
3c1bc51f
Exists in
master
and in
79 other branches
Creates colab-spb-theme-plugin makefile.
Signed-off-by: Carlos Oliveira <carlospecter@gmail.com>
Showing
1 changed file
with
22 additions
and
0 deletions
Show diff stats
... | ... | @@ -0,0 +1,22 @@ |
1 | +PACKAGE = colab-spb-theme-plugin | |
2 | +VERSION = 0.2 | |
3 | +DISTDIR = $(PACKAGE)-$(VERSION) | |
4 | +TARBALL = $(DISTDIR).tar.gz | |
5 | + | |
6 | +all: | |
7 | + @echo Nothing to be $@, all good. | |
8 | + | |
9 | +colab_dir=/usr/lib/colab | |
10 | + | |
11 | +dist: clean | |
12 | + mkdir $(DISTDIR) | |
13 | + tar --exclude=.git --exclude=$(DISTDIR) -cf - * | (cd $(DISTDIR) && tar xaf -) | |
14 | + tar --exclude=.git -caf $(TARBALL) $(DISTDIR) | |
15 | + rm ~/rpmbuild/SOURCES/$(TARBALL) && cp $(TARBALL) ~/rpmbuild/SOURCES/ | |
16 | +clean: | |
17 | + $(RM) $(TARBALL) | |
18 | + $(RM) -r $(DISTDIR) | |
19 | + | |
20 | +install: | |
21 | + install -d -m 0755 $(DESTDIR)/$(colab_dir)/colab-spb-theme-plugin | |
22 | + cp -vr . $(DESTDIR)/$(colab_dir)/colab-spb-theme-plugin | ... | ... |