1 Star 1 Fork 0

dqzhangp/gstreamill

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
Makefile.am 1.03 KB
一键复制 编辑 原始数据 按行查看 历史
dqzhangp 提交于 2016-06-21 17:11 . make install use long time
## Makefile.am -- Process this file with automake to produce Makefile.in
SUBDIRS = src usr etc
EXTRA_DIST = examples tools test etc
install-exec-hook:
id gstreamill || test "$$?" -eq 9 || { \
useradd gstreamill; \
}
usermod -a -G video,audio gstreamill;
chown root:gstreamill $(bindir)/gstreamill
chmod u+s $(bindir)/gstreamill
test -s /var/lib/gstreamill || { \
mkdir -p /var/lib/gstreamill; \
chown -R root:gstreamill /var/lib/gstreamill; \
chmod -R g+w /var/lib/gstreamill; \
}
test -s /var/log/gstreamill || { \
mkdir -p /var/log/gstreamill; \
}
chown -R root:gstreamill /var/log/gstreamill;
chmod -R g+w /var/log/gstreamill;
test -s /usr/share/gstreamill && { \
chown -R root:gstreamill /usr/share/gstreamill; \
chmod -R g+w /usr/share/gstreamill; \
}
test -s /usr/lib/systemd/system/gstreamill.service && { \
systemctl enable gstreamill; \
install -c -m 755 tools/cleangstmill.sh '$(bindir)/cleangstmill.sh'; \
install -c -m 755 tools/startjobs.sh '$(bindir)/startjobs.sh'; \
} || true
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/dqzhangp/gstreamill.git
[email protected]:dqzhangp/gstreamill.git
dqzhangp
gstreamill
gstreamill
master

搜索帮助