forked from arodier/Roundcube-Plugins
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
23 lines (17 loc) · 673 Bytes
/
Makefile
File metadata and controls
23 lines (17 loc) · 673 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# Put your local configuration in 'local' folder
include local/*.mk
### Variable settings #######################################################
# default folder for roundcube plugins. You can override in a local makefile.
pluginsDir ?= /var/www/roundcube-trunk/plugins
# Install all plugins in the dev folder
all: identiteam
# clean packages
clean:
@rm -f packs/*tgz
# Create a tgz package for each plugin
packs: clean
@cd plugins
@git archive --format tar --prefix=identiteam/ HEAD:plugins/identiteam | gzip -9 >packs/identiteam.tgz
# install packages in the currently defined plugins folder
identiteam: packs
@tar zxvf packs/identiteam.tgz -C $(pluginsDir)