X-Git-Url: https://git.dogcows.com/gitweb?p=chaz%2Fyoink;a=blobdiff_plain;f=Makefile.am;h=707b6067644c8700874a725280d33a49b1673c7b;hp=ad16dbe049e6fe1ab7b1944f8dcd5f04032bfac1;hb=674b77824b7d06e81d926931218084f68a5a5c9b;hpb=7d15b919681bb9ec0088b4b27c6abf62d6dfb9b1 diff --git a/Makefile.am b/Makefile.am index ad16dbe..707b606 100644 --- a/Makefile.am +++ b/Makefile.am @@ -1,13 +1,37 @@ ACLOCAL_AMFLAGS = -I m4 -SUBDIRS = yajl src data doc +SUBDIRS = data doc src -EXTRA_DIST = yajl +EXTRA_DIST = autogen.sh + + +.PHONY: run debug docs portable installer + +if WIN32 + +portable: all + $(SH) arch/win32/makepackage.sh -p $(prefix) -d "@DATA_FILES@" \ + -s $(STRIP) -V $(VERSION) + +installer: all + $(SH) arch/win32/makepackage.sh -p $(prefix) -d "@DATA_FILES@" \ + -s $(STRIP) -V $(VERSION) -i $(MAKENSIS) + +else run: all - $(top_srcdir)/src/yoink + @cd src && $(MAKE) run debug: all - gdb $(top_srcdir)/src/yoink + @cd src && $(MAKE) debug + +endif + +if NETBSD + +package: all + $(SH) arch/netbsd/makepackage.sh + +endif