File: Makefile

package info (click to toggle)
llgal 0.13.19-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 616 kB
  • sloc: perl: 2,821; makefile: 132; php: 15
file content (11 lines) | stat: -rw-r--r-- 352 bytes parent folder | download | duplicates (15)
1
2
3
4
5
6
7
8
9
10
11
.PHONY: install uninstall

install:
	install -d -m 0755 $(DOCDIR)
	find . -type d -exec install -d -m 0755 $(DOCDIR)/{} \;
	find . -type f -not -name Makefile -exec install -m 0644 {} $(DOCDIR)/{} \;

uninstall:
	find . -type f -not -name Makefile -exec rm -f $(DOCDIR)/{} \;
	find . -depth -type d -exec rmdir $(DOCDIR)/{} \;
	rmdir $(DOCDIR) || true