Fixed gen-makefile
This commit is contained in:
parent
317f635b91
commit
47c1e6d40b
5
Makefile
5
Makefile
@ -1,7 +1,8 @@
|
||||
# Autogenerated at 04.07.2022 22:11 using ./gen-makefile.sh
|
||||
# Autogenerated at 04.07.2022 22:16 using ./gen-makefile.sh
|
||||
|
||||
##lamp: Apache + php + mariadb
|
||||
lamp: apache php mariadb
|
||||
|
||||
##apache: Install apache2 (latest)
|
||||
apache:
|
||||
./install/apache
|
||||
@ -111,4 +112,4 @@ help: Makefile
|
||||
|
||||
##<goal>_: Same as 'cat ./install/<goal>.sh'
|
||||
%_:
|
||||
@cat ./install/$*.sh
|
||||
@cat ./install/$*
|
||||
|
@ -4,6 +4,7 @@ echo -e "# Autogenerated at $(date +'%d.%m.%Y %H:%M') using ${BASH_SOURCE[0]}\n"
|
||||
|
||||
for file in ./packs/*; do
|
||||
cat ${file} >> Makefile
|
||||
echo >> Makefile
|
||||
done;
|
||||
|
||||
for file in ./install/*; do
|
||||
@ -22,12 +23,11 @@ help: Makefile
|
||||
@echo "Available goals:"
|
||||
@sed -n 's/^##//p' $< | column -t -s ':' | sed -e "s/^/\t/"
|
||||
|
||||
##<goal>_: Same as 'cat ./install/<goal>.sh'
|
||||
##<goal>_: Same as 'cat ./install/<goal>'
|
||||
%_:
|
||||
@cat ./install/\$*.sh
|
||||
@cat ./install/\$*
|
||||
EOF
|
||||
|
||||
|
||||
echo "New ./Makefile has been generated!"
|
||||
echo "Old one has been saved as ./Makefile.bak"
|
||||
echo
|
||||
|
Loading…
Reference in New Issue
Block a user