[GRASS-SVN] r40977 - in grass/trunk: . mswindows

svn_grass at osgeo.org svn_grass at osgeo.org
Sat Feb 13 07:07:42 EST 2010


Author: glynn
Date: 2010-02-13 07:07:42 -0500 (Sat, 13 Feb 2010)
New Revision: 40977

Added:
   grass/trunk/mswindows/generic.manifest
Modified:
   grass/trunk/Makefile
Log:
Create manifests (untested)


Modified: grass/trunk/Makefile
===================================================================
--- grass/trunk/Makefile	2010-02-13 10:25:32 UTC (rev 40976)
+++ grass/trunk/Makefile	2010-02-13 12:07:42 UTC (rev 40977)
@@ -62,6 +62,7 @@
 	-$(CHMOD) 755 install-sh
 	$(MAKE) subdirs
 	$(MAKE) $(FILES_DST)
+	$(MAKE) manifests
 	$(MAKE) $(ARCH_DISTDIR)/$(GRASS_NAME).tmp
 	@if [ `wc -l < "$(ERRORLOG)"` -gt 5 ] ; then \
 		echo "--"     >> $(ERRORLOG) ; \
@@ -77,6 +78,15 @@
 	@cat $(ERRORLOG)
 	@if [ `wc -l < "$(ERRORLOG)"` -gt 8 ] ; then false ; else true ; fi
 
+manifests:
+ifneq ($(strip $(MINGW)),)
+      find $(ARCH_DISTDIR) -type f -name '*.exe' | \
+      while read file ; do \
+          cmd=`basename "$$file" .exe` \
+          sed "s/@CMD@/$$cmd/" mswindows/generic.manifest > "$$file".manifest ; \
+      done
+endif
+
 $(ARCH_DISTDIR)/%: %
 	$(INSTALL_DATA) $< $@
 

Added: grass/trunk/mswindows/generic.manifest
===================================================================
--- grass/trunk/mswindows/generic.manifest	                        (rev 0)
+++ grass/trunk/mswindows/generic.manifest	2010-02-13 12:07:42 UTC (rev 40977)
@@ -0,0 +1,18 @@
+<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
+<assembly xmlns="urn:schemas-microsoft-com:asm.v1" manifestVersion="1.0"> 
+  <assemblyIdentity version="1.0.0.0"
+     processorArchitecture="X86"
+     name="@CMD@"
+     type="win32"/> 
+  <description>GRASS modules</description> 
+  <!-- Identify the application security requirements. -->
+  <trustInfo xmlns="urn:schemas-microsoft-com:asm.v2">
+    <security>
+      <requestedPrivileges>
+        <requestedExecutionLevel
+          level="asInvoker"
+          uiAccess="false"/>
+        </requestedPrivileges>
+       </security>
+  </trustInfo>
+</assembly>



More information about the grass-commit mailing list