Skip to content

Commit

Permalink
2010-01-06 Rodrigo Kumpera <rkumpera@novell.com>
Browse files Browse the repository at this point in the history
	* scripts/Makefile.am: Add peverify script.

	* scripts/peverify.in: Added.

svn path=/trunk/mono/; revision=149167
  • Loading branch information
kumpera committed Jan 7, 2010
1 parent 809eae1 commit 37ed0bf
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 0 deletions.
6 changes: 6 additions & 0 deletions ChangeLog
@@ -1,3 +1,9 @@
2010-01-06 Rodrigo Kumpera <rkumpera@novell.com>

* scripts/Makefile.am: Add peverify script.

* scripts/peverify.in: Added.

2009-12-22 Geoff Norton <gnorton@novell.com>

* configure.in: Fix invalid escaping. Patch from Spina from
Expand Down
5 changes: 5 additions & 0 deletions scripts/Makefile.am
Expand Up @@ -36,6 +36,7 @@ bin_SCRIPTS = \
$(MDOC_COMPAT) \
mod$(SCRIPT_SUFFIX) \
mono-test-install \
peverify \
mono-heapviz

if INSTALL_4_0
Expand Down Expand Up @@ -142,6 +143,7 @@ EXTRA_DIST = \
mono-service.in \
mono-find-provides.in \
mono-find-requires.in \
peverify.in \
mono-test-install \
mono-heapviz \
$(MDOC_COMPAT) \
Expand Down Expand Up @@ -181,6 +183,9 @@ REWRITE2_1 = $(REWRITE) -e 's,@''framework_version@,2.1,g'
REWRITE4 = $(REWRITE) -e 's,@''framework_version@,4.0,g'
REWRITE2_DEBUG = $(REWRITE_DEBUG) -e 's,@''framework_version@,2.0,g'

peverify: peverify.in Makefile
$(REWRITE_COMMON) $(srcdir)/peverify.in > $@.tmp
mv -f $@.tmp $@

mono-service: mono-service.in Makefile
$(REWRITE2) -e 's,@''exe_name@,$@,g' $(srcdir)/mono-service.in > $@.tmp
Expand Down
2 changes: 2 additions & 0 deletions scripts/peverify.in
@@ -0,0 +1,2 @@
#!/bin/sh
exec @bindir@/pedump $MONO_OPTIONS --verify metadata,code "$@"

0 comments on commit 37ed0bf

Please sign in to comment.