[Mofified]
1.修改Makefile,更改配置文件名
This commit is contained in:
@@ -69,7 +69,7 @@ tarball: cert_store
|
||||
if [ ! -d "package/etc" ]; then mkdir -p "package/etc"; fi
|
||||
cp cert_store package/bin/cert_store
|
||||
#cp ../lib/*.a package/lib/
|
||||
cp ../conf/cert_store.yaml package/etc/
|
||||
cp ../conf/cert_store.ini package/etc/
|
||||
cd package && tar cpfz cert_store-$(BUILD_FINGERPRINT2).tar.gz bin etc lib Makefile
|
||||
cd ..
|
||||
mv package/cert_store-$(BUILD_FINGERPRINT2).tar.gz ../release/
|
||||
|
||||
@@ -3,7 +3,7 @@ install:
|
||||
if [ ! -d "/usr/local/bin" ]; then mkdir -p "/usr/local/bin"; fi
|
||||
if [ ! -d "/usr/local/lib" ]; then mkdir -p "/usr/local/lib"; fi
|
||||
#
|
||||
cp -f etc/cert_store.yaml /usr/local/etc/
|
||||
cp -f etc/cert_store.ini /usr/local/etc/
|
||||
#
|
||||
cp -f bin/cert_store /usr/local/bin/
|
||||
chmod +x /usr/local/bin/cert_store
|
||||
@@ -16,6 +16,6 @@ update:
|
||||
|
||||
uninstall:
|
||||
rm -f /usr/local/bin/cert_store
|
||||
rm -rf /usr/local/etc/cert_store.yaml
|
||||
rm -rf /usr/local/etc/cert_store.ini
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user