4 MANDIR
:= $(PREFIX
)/man
5 DOCDIR
:= ${PREFIX}/share
/doc
7 .PHONY
: shell-fm manual
all clean tags cscope
18 install -m
0755 -d
$(DESTDIR
)$(PREFIX
)/bin
/
19 install -m
0755 -d
$(DESTDIR
)$(MANDIR
)/man1
/
20 install -m
0755 source
/shell-fm
$(DESTDIR
)$(PREFIX
)/bin
/
21 install -m
0644 manual
/shell-fm
.1.gz
$(DESTDIR
)$(MANDIR
)/man1
/
24 install -m
0755 -d
$(DESTDIR
)$(DOCDIR
)/shell-fm
/
25 cp
-r scripts
$(DESTDIR
)$(DOCDIR
)/shell-fm
/
29 install-strip
: install
30 strip $(PREFIX
)/bin
/shell-fm
32 uninstall : uninstall-extras
33 rm -f
$(PREFIX
)/bin
/shell-fm
34 rm -f
$(MANDIR
)/man1
/shell-fm
.1.gz
35 rmdir
--ignore-fail-on-non-empty
$(PREFIX
)/bin
36 rmdir
--ignore-fail-on-non-empty
$(MANDIR
)/man1
37 rmdir
--ignore-fail-on-non-empty
$(MANDIR
)
38 rmdir
--ignore-fail-on-non-empty
$(PREFIX
)
41 rm -rf
$(DESTDIR
)$(DOCDIR
)/shell-fm
/
44 $(MAKE
) -C source
clean
45 $(MAKE
) -C manual
clean
50 xargs
-n50 ctags
-a
< cscope.files
56 find source
-name
'*.[ch]' > cscope.files