clean make files, add base dependency when required

This commit is contained in:
2016-05-14 20:24:31 +01:00
parent 0087f19c03
commit 54ab11a689
27 changed files with 41 additions and 25 deletions

View File

@@ -1,3 +1,3 @@
automysqlbackup: automysqlbackup: base
$(call script,$@) $(call script,$@)
$(call boot,02,$@) $(call boot,02,$@)

View File

@@ -1,2 +1,2 @@
backintime: cron backintime: base sshd cron
$(call script,$@) $(call script,$@)

View File

@@ -1,3 +1,6 @@
base: cron sshd base:
$(call add,init,/opt/init)
@echo 'RUN chmod +x /opt/init' >> ${FILE}
@echo 'CMD ["/opt/init"]' >> ${FILE}
$(call script,utilities) $(call script,utilities)
$(call script,runit) $(call script,runit)

View File

@@ -1,4 +1,4 @@
btsync: btsync: base
$(call script,$@) $(call script,$@)
$(call runit,$@) $(call runit,$@)
$(call boot,02,$@) $(call boot,02,$@)

View File

@@ -1,3 +1,3 @@
collectd: collectd: base
$(call script,$@) $(call script,$@)
$(call runit,$@) $(call runit,$@)

View File

@@ -1,4 +1,4 @@
couchpotato: couchpotato: base
$(call script,$@) $(call script,$@)
$(call boot,02,$@) $(call boot,02,$@)
$(call runit,$@) $(call runit,$@)

2
build/make/ftpd.mk Normal file
View File

@@ -0,0 +1,2 @@
ftpd: base
$(call script,$@)

View File

@@ -1,3 +1,3 @@
gmrender: compile gmrender: base compile
$(call script,$@) $(call script,$@)
$(call runit,$@) $(call runit,$@)

View File

@@ -1,4 +1,4 @@
hamachi: hamachi: base
$(call script,$@) $(call script,$@)
$(call runit,$@) $(call runit,$@)
$(call boot,02,$@) $(call boot,02,$@)

View File

@@ -1,4 +1,4 @@
headphones: encoders headphones: base encoders
$(call script,ffmpeg) $(call script,ffmpeg)
$(call script,$@) $(call script,$@)
$(call boot,02,$@) $(call boot,02,$@)

5
build/make/jekyll.mk Normal file
View File

@@ -0,0 +1,5 @@
jekyll:
sed -i "s,\(FROM\s*\).*,\1grahamc/jekyll:latest\nUSER root," ${FILE}
$(call file,Gemfile)
echo 'RUN bundler' >> ${FILE}
echo 'ENTRYPOINT ["jekyll"]' >> ${FILE}

4
build/make/jenkins.mk Normal file
View File

@@ -0,0 +1,4 @@
jenkins:
sed -i "s,\(FROM\s*\).*,\1jenkins:2.0\nUSER root," ${FILE}
echo 'ENTRYPOINT ["/bin/tini", "--", "/usr/local/bin/jenkins.sh"]' >> ${FILE}
$(call script,$@)

View File

@@ -1,4 +1,4 @@
kodi: encoders kodi: base encoders
$(call add,aux/headless.patch,/headless.patch) $(call file,headless.patch)
$(call script,$@) $(call script,$@)
$(call runit,$@) $(call runit,$@)

View File

@@ -1,3 +1,3 @@
lighttpd: compile lighttpd: base compile
$(call script,$@) $(call script,$@)
$(call runit,$@) $(call runit,$@)

View File

@@ -1,3 +1,3 @@
minidlna: compile minidlna: base compile
$(call script,$@) $(call script,$@)
$(call runit,$@) $(call runit,$@)

2
build/make/mpd.mk Normal file
View File

@@ -0,0 +1,2 @@
mpd: pulseaudio mpd
$(call script,$@)

View File

@@ -1,3 +1,3 @@
mysql: mysql: base
$(call script,$@) $(call script,$@)
$(call runit,$@) $(call runit,$@)

View File

@@ -1,3 +1,3 @@
phpmyadmin: phpmyadmin: base
$(call script,$@) $(call script,$@)
$(call boot,02,$@) $(call boot,02,$@)

View File

@@ -1,3 +1,3 @@
redis: redis: base
$(call script,$@) $(call script,$@)
$(call runit,$@) $(call runit,$@)

View File

@@ -1,4 +1,4 @@
sabnzbd: sabnzbd: base
$(call script,$@) $(call script,$@)
$(call boot,02,$@) $(call boot,02,$@)
$(call runit,$@) $(call runit,$@)

View File

@@ -1,4 +1,4 @@
sickbeard: subliminal sickbeard: base subliminal
$(call script,$@) $(call script,$@)
$(call boot,02,$@) $(call boot,02,$@)
$(call runit,$@) $(call runit,$@)

View File

@@ -1,3 +1,3 @@
sonarr: sonarr: base
$(call script,$@) $(call script,$@)
$(call runit,$@) $(call runit,$@)

View File

@@ -1,3 +1,3 @@
sshd: sshd: base
$(call script,$@) $(call script,$@)
$(call runit,$@) $(call runit,$@)

View File

@@ -1,4 +1,4 @@
syncthing: syncthing: base
$(call script,$@) $(call script,$@)
$(call runit,$@) $(call runit,$@)
$(call boot,02,$@) $(call boot,02,$@)

View File

@@ -1,4 +1,4 @@
transmission: transmission: base
$(call script,$@) $(call script,$@)
$(call boot,02,$@) $(call boot,02,$@)
$(call runit,$@) $(call runit,$@)

View File

@@ -1,3 +1,3 @@
upnpproxy: compile upnpproxy: base compile
$(call script,$@) $(call script,$@)
$(call runit,$@) $(call runit,$@)

View File

@@ -1,3 +1,3 @@
webserver: lighttpd-php phpmyadmin webserver: base lighttpd-php phpmyadmin
$(call script,$@) $(call script,$@)
$(call boot,02,$@) $(call boot,02,$@)