mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-01-31 06:39:11 +00:00
Makefile: Synology diff by Wolfgang
git-svn-id: https://svn.fhem.de/fhem/trunk@6609 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
ba8cd963df
commit
14a832aefd
@ -132,3 +132,12 @@ fb7390:
|
||||
|
||||
fb7270:
|
||||
cd contrib/FB7270 && ./makeimage $(DESTDIR)
|
||||
|
||||
synology:
|
||||
rm -f contrib/Synology/package.tgz
|
||||
rm -f $(DESTDIR).spk
|
||||
sed -ie 's/\.\/log/\/var\/log/g' fhem.cfg
|
||||
sed -ie 's/modpath \./modpath \/var\/packages\/FHEM\/target/g' fhem.cfg
|
||||
sed -ie 's/version=".*"/version="$(DESTDIR)"/g' contrib/Synology/INFO
|
||||
tar -vpczf contrib/Synology/package.tgz * --exclude "contrib/Synology"
|
||||
cd contrib/Synology && tar -vcf ../../$(DESTDIR).spk *
|
||||
|
Loading…
Reference in New Issue
Block a user