Skip to content

Commit 066e5fc

Browse files
committed
added bash completion to Makefile
1 parent 66404a9 commit 066e5fc

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

Makefile

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,15 @@ install:
55
install -Dm 755 init_image.sh "$(DESTDIR)/$(PREFIX)/bin/init_image.sh"
66
install -Dm 755 gen_cloud_template.sh "$(DESTDIR)/$(PREFIX)/bin/gen_cloud_template.sh"
77
install -Dm 755 autorun/init.arch.sh "$(DESTDIR)/usr/share/disk-image-scripts/init.arch.sh"
8-
install -Dm 755 autorun/init.arch.conf "$(DESTDIR)/usr/share/disk-image-scripts/init.arch.conf"
8+
install -Dm 644 autorun/init.arch.conf "$(DESTDIR)/usr/share/disk-image-scripts/init.arch.conf"
9+
install -Dm 644 bash_completion/mount_image.bash "$(DESTDIR)/usr/share/bash-completion/completions/mount_image.sh"
10+
install -Dm 644 bash_completion/gen_cloud_template.bash "$(DESTDIR)/usr/share/bash-completion/completions/gen_cloud_template.sh"
911
install -Dm 644 man/init_image.1 "$(DESTDIR)/$(PREFIX)/share/man/man1/init_image.1"
1012
install -Dm 644 man/shrink_wrap.1 "$(DESTDIR)/$(PREFIX)/share/man/man1/shrink_wrap.1"
1113
install -Dm 644 man/mount_image.1 "$(DESTDIR)/$(PREFIX)/share/man/man1/mount_image.1"
1214
install -Dm 644 man/gen_cloud_template.1 "$(DESTDIR)/$(PREFIX)/share/man/man1/gen_cloud_template.1"
15+
install -Dm 644 man/template_rc.5 "$(DESTDIR)/$(PREFIX)/share/man/man5/template_rc.5"
16+
install -Dm 644 "docs/template.rc format spec.md" "$(DESTDIR)/usr/share/disk-image-scripts/docs/template.rc_format_spec.md"
1317
cp -ra default_template "$(DESTDIR)/usr/share/disk-image-scripts/default_template"
1418

1519
remove:
@@ -23,4 +27,7 @@ remove:
2327
rm "$(DESTDIR)/$(PREFIX)/share/man/man1/shrink_wrap.1"
2428
rm "$(DESTDIR)/$(PREFIX)/share/man/man1/mount_image.1"
2529
rm "$(DESTDIR)/$(PREFIX)/share/man/man1/gen_cloud_template.1"
30+
rm "$(DESTDIR)/$(PREFIX)/share/man/man5/template_rc.5"
31+
rm "$(DESTDIR)/usr/share/bash-completion/completions/mount_image.sh"
32+
rm "$(DESTDIR)/usr/share/bash-completion/completions/gen_cloud_template.sh"
2633
rm -rf "$(DESTDIR)/usr/share/disk-image-scripts/"

0 commit comments

Comments
 (0)