From a2efc32d1fbdc58b91d10ef34371263656981971 Mon Sep 17 00:00:00 2001 From: Nick Treleaven Date: Tue, 13 Mar 2012 13:48:15 +0000 Subject: [PATCH] Add basic install target, requires admin privileges and MSYS --- makefile.win32 | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/makefile.win32 b/makefile.win32 index 490a52b0..a6afe226 100644 --- a/makefile.win32 +++ b/makefile.win32 @@ -44,3 +44,12 @@ clean: deps cd scintilla && $(MAKE) -f makefile.win32 clean && cd .. cd plugins && $(MAKE) -f makefile.win32 clean && cd .. cd src && $(MAKE) -f makefile.win32 clean && cd .. + +.PHONY: install +DESTDIR='C:/Program Files/Geany' + +# requires admin privileges and MSYS +install: + cp -r data $(DESTDIR) + cp plugins/*.dll $(DESTDIR)/lib + cp geany.exe $(DESTDIR)/bin