mirror of
https://github.com/Motion-Project/motion.git
synced 2026-01-31 10:01:32 -05:00
Add to motion package the installation of init.d script
This commit is contained in:
1
debian/motion.dirs
vendored
1
debian/motion.dirs
vendored
@@ -1,3 +1,4 @@
|
||||
usr/bin
|
||||
usr/share/man/man1
|
||||
etc/motion
|
||||
etc/init.d
|
||||
|
||||
3
debian/rules
vendored
3
debian/rules
vendored
@@ -85,8 +85,9 @@ install: build
|
||||
$(MAKE) install DESTDIR=$(CURDIR)/debian/motion
|
||||
# Offer a minimal default config file.
|
||||
cp debian/motion.conf debian/motion/etc/motion
|
||||
cp motion.init-Debian debian/motion/etc/init.d/motion
|
||||
# Remove unwanted/misplaced files.
|
||||
rm -rf $(CURDIR)/debian/motion/usr/share/doc/motion-3.2.7
|
||||
rm -rf $(CURDIR)/debian/motion/usr/share/doc/motion-3.2.8
|
||||
rm -f $(CURDIR)/debian/motion/etc/motion/motion-dist.conf
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user