32 lines
1.4 KiB
Makefile
32 lines
1.4 KiB
Makefile
all:
|
|
true
|
|
|
|
install:
|
|
install -d $(DESTDIR)/etc/amue-authentic2
|
|
install -m 644 amue.conf $(DESTDIR)/etc/amue-authentic2/
|
|
install -m 644 gunicorn-cfg.py $(DESTDIR)/etc/amue-authentic2/
|
|
install -d $(DESTDIR)/usr/share/dbconfig-common/scripts/amue-authentic2/install
|
|
install -T -m 755 syncdb.sh $(DESTDIR)/usr/share/dbconfig-common/scripts/amue-authentic2/install/pgsql
|
|
install -d $(DESTDIR)/usr/share/amue-authentic2/templates
|
|
install db.conf $(DESTDIR)/usr/share/amue-authentic2/templates/
|
|
install -d $(DESTDIR)/usr/share/pyshared/
|
|
cp -R amue $(DESTDIR)/usr/share/pyshared/
|
|
install -d $(DESTDIR)/usr/lib/amue-authentic2
|
|
install -m 755 run.sh $(DESTDIR)/usr/lib/amue-authentic2
|
|
install -m 755 manage.sh $(DESTDIR)/usr/lib/amue-authentic2
|
|
install -m 755 reload.sh $(DESTDIR)/usr/lib/amue-authentic2
|
|
# supervisor
|
|
install -d $(DESTDIR)/etc/supervisor/conf.d/
|
|
install -T -m 644 supervisor.conf $(DESTDIR)/etc/supervisor/conf.d/amue-authentic2.conf
|
|
# stud
|
|
install -d $(DESTDIR)/etc/stud/
|
|
install -T -m 644 stud-amue-idp-test.conf $(DESTDIR)/etc/stud/idp.conf
|
|
install -d $(DESTDIR)/etc/ssl/private/
|
|
install -T -m 644 wildcard-amue.fr.cert $(DESTDIR)/etc/ssl/private/idp.pem
|
|
# haproxy
|
|
install -d $(DESTDIR)/etc/haproxy/
|
|
install -T -m 644 haproxy.cfg $(DESTDIR)/etc/haproxy/haproxy-amue.cfg
|
|
# nginx
|
|
install -d $(DESTDIR)/etc/nginx/sites-available/
|
|
install -T -m 644 idp.amue.fr.nginx $(DESTDIR)/etc/nginx/sites-available/idp.amue.fr
|