2 USR_PATH
= $(PKGDIR
)/usr
3 INSTALL_OPTS
= -o root
-g root
-v
4 INSTALL_OPTS_2
= $(INSTALL_OPTS_BIN
) -m
644
16 cd src
; make runexamples
18 install: all uninstall
19 install -d
$(USR_PATH
)/bin
20 install -d
$(USR_PATH
)/share
21 install $(INSTALL_OPTS
) -d
$(USR_PATH
)/share
/$(PROJECT
)
22 install $(INSTALL_OPTS
) -d
$(USR_PATH
)/share
/$(PROJECT
)/image
23 install $(INSTALL_OPTS
) -d
$(USR_PATH
)/share
/$(PROJECT
)/image
/example
24 install $(INSTALL_OPTS
) -d
$(USR_PATH
)/share
/$(PROJECT
)/model
25 install $(INSTALL_OPTS
) -d
$(USR_PATH
)/share
/$(PROJECT
)/model
/example
26 install $(INSTALL_OPTS
) -d
$(USR_PATH
)/share
/$(PROJECT
)/script
27 install $(INSTALL_OPTS
) -d
$(USR_PATH
)/share
/$(PROJECT
)/script
/example
28 install $(INSTALL_OPTS
) bin
/aesthe
$(USR_PATH
)/bin
29 install $(INSTALL_OPTS_2
) image
/*.ppm
$(USR_PATH
)/share
/$(PROJECT
)/image
30 install $(INSTALL_OPTS_2
) image
/example
/*.ppm
$(USR_PATH
)/share
/$(PROJECT
)/image
/example
31 install $(INSTALL_OPTS_2
) model
/example
/*.aexi
$(USR_PATH
)/share
/$(PROJECT
)/model
/example
32 install $(INSTALL_OPTS_2
) script
/*.lua
$(USR_PATH
)/share
/$(PROJECT
)/script
33 install $(INSTALL_OPTS_2
) script
/example
/*.lua
$(USR_PATH
)/share
/$(PROJECT
)/script
/example
36 rm -f
$(USR_PATH
)/bin
/aesthe
37 rm -rf
$(USR_PATH
)/share
/$(PROJECT
)