DESTDIR="./dist"
PKG_VERSION := $( $(GREP) -Po '(?<="version": ")[^"]*' )
TMPDIR := $(shell mktemp -d)
+HOSTS_FILE = $(HOSTS_FILE)
# default modules
MODULES="php"
install: installdirs
cp -rv $(CURDIR)/build/* $(DESTDIR)/
+submodule-update:
+ git submodule update
+
+deploy:
+ ansible-playbook -i $(HOSTS_FILE) ansible/site.yml
+
dist:
DESTDIR=$(TMPDIR)/uguu-$(PKGVERSION)
export DESTDIR
- name: "install uguu"
hosts: all
become: yes
- role:
+ roles:
- ansible-role-uguu
vars:
- generateRobotstxt: ""
- generateSitemap: ""
- max_upload_size: ""
- production: ""
- siteName: ""
- siteUrl: ""
- abuseContact: ""
- infoContact: ""
- ServerCountryLocation: ""
- SiteMetaInfo: ""
paypalUrl: ""
bitcoinAddress: ""
- flattrUrl: ""
- LOG_IP: ""
- DB_USER: ""
- DB_PASS: ""
- ANTI_DUPE: ""
- FILES_RETRIES: ""
- SSL: ""
- NAME_LENGTH: ""
- URL: ""
\ No newline at end of file
+ flattrUrl: ""
\ No newline at end of file