Modify setup for more flexible building process
This commit is contained in:
@@ -1,10 +1,6 @@
|
||||
base: directory cron syslog sshd hosts
|
||||
ln -f $(BASE)/config build
|
||||
ln -f $(BASE)/init build
|
||||
ln -f $(BASE)/scripts/*_prepare.sh build/scripts
|
||||
ln -f $(BASE)/scripts/*_boot.sh build/scripts
|
||||
ln -f $(BASE)/scripts/*_init.sh build/scripts
|
||||
ln -f $(BASE)/scripts/*_runit.sh build/scripts
|
||||
ln -f $(BASE)/scripts/*_logrotate.sh build/scripts
|
||||
ln -f $(BASE)/scripts/*_utilities.sh build/scripts
|
||||
ln -f $(BASE)/scripts/*_cleanup.sh build/scripts
|
||||
base: cron syslog sshd hosts
|
||||
# $(call script,boot)
|
||||
# $(call script,init)
|
||||
# $(call script,runit)
|
||||
# $(call script,logrotate)
|
||||
# $(call script,utilities)
|
||||
2
build/make/compile.mk
Normal file
2
build/make/compile.mk
Normal file
@@ -0,0 +1,2 @@
|
||||
compile:
|
||||
ln -f $(BASE)/scripts/*_$@.sh build/scripts
|
||||
@@ -1,3 +1,3 @@
|
||||
cron:
|
||||
ln -f $(BASE)/scripts/*_$@.sh build/scripts
|
||||
ln -f $(BASE)/runit/$@ build/runit
|
||||
$(call script,$@)
|
||||
$(call runit,$@)
|
||||
3
build/make/gmrender.mk
Normal file
3
build/make/gmrender.mk
Normal file
@@ -0,0 +1,3 @@
|
||||
gmrender: compile
|
||||
cp $(BASE)/scripts/*_$@.sh build/scripts
|
||||
cp $(BASE)/runit/$@ build/runit
|
||||
@@ -1,3 +1,3 @@
|
||||
hosts:
|
||||
ln -f $(BASE)/scripts/*_$@.sh build/scripts
|
||||
ln -f $(BASE)/boot/*_$@.sh build/boot
|
||||
$(call script,$@)
|
||||
$(call boot,01,$@)
|
||||
2
build/make/logrotate.mk
Normal file
2
build/make/logrotate.mk
Normal file
@@ -0,0 +1,2 @@
|
||||
logrotate:
|
||||
ln -f $(BASE)/scripts/*_$@.sh build/scripts
|
||||
3
build/make/minidlna.mk
Normal file
3
build/make/minidlna.mk
Normal file
@@ -0,0 +1,3 @@
|
||||
minidlna: compile
|
||||
ln -f $(BASE)/scripts/*_$@.sh build/scripts
|
||||
ln -f $(BASE)/runit/$@ build/runit
|
||||
@@ -1,3 +1,3 @@
|
||||
sshd:
|
||||
ln -f $(BASE)/scripts/*_$@.sh build/scripts
|
||||
ln -f $(BASE)/runit/$@ build/runit
|
||||
$(call script,$@)
|
||||
$(call runit,$@)
|
||||
@@ -1,3 +1,3 @@
|
||||
syslog:
|
||||
ln -f $(BASE)/scripts/*_$@.sh build/scripts
|
||||
ln -f $(BASE)/runit/$@ build/runit
|
||||
$(call script,$@)
|
||||
$(call runit,$@)
|
||||
3
build/make/upnpproxy.mk
Normal file
3
build/make/upnpproxy.mk
Normal file
@@ -0,0 +1,3 @@
|
||||
upnpproxy: compile
|
||||
cp $(BASE)/scripts/*_$@.sh build/scripts
|
||||
cp $(BASE)/runit/$@ build/runit
|
||||
Reference in New Issue
Block a user