add fix makefile
This commit is contained in:
parent
8f31ee8216
commit
6dc40bdb5e
3
Makefile
3
Makefile
|
@ -17,8 +17,7 @@ install:
|
||||||
install -m 0755 bin/$$prog /usr/bin; \
|
install -m 0755 bin/$$prog /usr/bin; \
|
||||||
done
|
done
|
||||||
|
|
||||||
if test ! -d /etc/motds32; then mkdir -p /etc/motds32; fi
|
if test ! -d /etc/motds32; then mkdir -p /etc/motds32; touch /etc/motds32/Stats32.txt; chmod 777 /etc/motds32/Stats32.txt; fi
|
||||||
if test -d /etc/motds32; then touch /etc/motds32/Stats32.txt; chmod 777 /etc/motds32/Stats32.txt; fi
|
|
||||||
for config in $(CONFIGS); do \
|
for config in $(CONFIGS); do \
|
||||||
if test ! -e /etc/motds32/$$config; then install -m 644 ./etc/motds32/$$config /etc/motds32; fi \
|
if test ! -e /etc/motds32/$$config; then install -m 644 ./etc/motds32/$$config /etc/motds32; fi \
|
||||||
done
|
done
|
||||||
|
|
Loading…
Reference in New Issue