X-Git-Url: https://git.dogcows.com/gitweb?p=chaz%2Fyoink;a=blobdiff_plain;f=Makefile.am;h=36d5fab3c44f9f2cddca51431bbf5580ae78207b;hp=f3c3773fa70b7f40aa70e45d32fa50c1e4aeaf1b;hb=cf4c819df08e2ab6c06532d8a4467fa58b2792ae;hpb=0b8dbc2d02c7f78d273ad9cfdf05c927c648ffd1 diff --git a/Makefile.am b/Makefile.am index f3c3773..36d5fab 100644 --- a/Makefile.am +++ b/Makefile.am @@ -3,29 +3,31 @@ ACLOCAL_AMFLAGS = -I m4 SUBDIRS = data doc src -EXTRA_DIST = autogen.sh extra win32 +EXTRA_DIST = autogen.sh extra .PHONY: run debug docs portable installer -run: all - @$(CD) src && $(MAKE) run - -debug: all - @$(CD) src && $(MAKE) debug - -docs: - $(DOXYGEN) - if WIN32 portable: all - $(SH) win32/makepackage.sh -p $(prefix) -d "$(DATA_FILES)" \ + $(SH) arch/win32/makepackage.sh -p $(prefix) -d "@DATA_FILES@" \ -s $(STRIP) -V $(VERSION) installer: all - $(SH) win32/makepackage.sh -p $(prefix) -d "$(DATA_FILES)" \ + $(SH) arch/win32/makepackage.sh -p $(prefix) -d "@DATA_FILES@" \ -s $(STRIP) -V $(VERSION) -i $(MAKENSIS) +else + +run: all + @cd src && $(MAKE) run + +debug: all + @cd src && $(MAKE) debug + endif +docs: + $(DOXYGEN) +