File tree Expand file tree Collapse file tree 1 file changed +15
-4
lines changed
Expand file tree Collapse file tree 1 file changed +15
-4
lines changed Original file line number Diff line number Diff line change 1-
21# # make help: Display help text
32help :
43 @echo " "
109 @echo " "
1110
1211# # make install: install the Unix Notes application
13- install : docs install_files
12+ install : manpages install_files
1413
15- install_file :
14+ install_files :
1615 @echo do the install stuff
16+ sudo install -o root -g root -m 755 notes /usr/local/bin/notes
17+ sudo ln -s /usr/local/bin/notes /usr/local/bin/notebook
1718
18- docs :
19+ manpages :
1920 @echo create the docs files to be installed
21+ gzip -c docs/notes.1 > tmp/notes.1.gz
22+ gzip -c docs/notebook.1 > tmp/notebook.1.gz
23+ sudo install -o root -g root -m 644 tmp/notes.1.gz /usr/share/man/man1
24+ sudo install -o root -g root -m 644 tmp/notebook.1.gz /usr/share/man/man1
2025
2126clean :
2227 @echo clean up after build
28+ -rm tmp/notes.1.gz
29+ -rm tmp/notebook.1.gz
2330
2431# # make uninstall: uninstall the application
2532uninstall :
2633 @echo uninstall application
34+ -sudo rm -f /usr/share/man/man1/notes.1.gz
35+ -sudo rm -f /usr/share/man/man1/notebook.1.gz
36+ -sudo rm -f /usr/local/bin/notes
37+ -sudo rm -f /usr/local/bin/notebook
2738
2839# # make reinstall: reinstall the application
2940reinstall : uninstall install
You can’t perform that action at this time.
0 commit comments