X-Git-Url: https://jasonwoof.com/gitweb/?p=vor.git;a=blobdiff_plain;f=Makefile;h=555fb963380f564abfdf4a090e6763ee3550d53d;hp=c49be4bf2b1789593c00224ef3853abc2b44d458;hb=29d7062c011d38b123dd71aabd3b184d4b18348f;hpb=7bae366b111b90929813862ab38b42ff59170ca3 diff --git a/Makefile b/Makefile index c49be4b..555fb96 100644 --- a/Makefile +++ b/Makefile @@ -18,9 +18,9 @@ prefix = /usr/local exec_prefix = $(prefix) -datarootdir = $(prefix)/share/games +datarootdir = $(prefix)/share pkgdatadir = $(datarootdir)/vor -bindir = $(exec_prefix)/games +bindir = $(exec_prefix)/bin CFLAGS := -Wall -O3 LDFLAGS := @@ -108,7 +108,8 @@ data-clean: rm -f $(graphics) font_guts font_guts.pov mkinstalldirs: - if [ ! -d $(DESTDIR)$(pkgdatadir) ]; then mkdir $(DESTDIR)$(pkgdatadir); fi + if [ ! -d $(DESTDIR)$(pkgdatadir) ]; then mkdir -p $(DESTDIR)$(pkgdatadir); fi + if [ ! -d $(DESTDIR)$(bindir) ]; then mkdir -p $(DESTDIR)$(bindir); fi rminstalldirs: uninstall-data if [ -d $(DESTDIR)$(pkgdatadir) ]; then rmdir $(DESTDIR)$(pkgdatadir); fi