Changeset 22346 for Makefile.PL
- Timestamp:
- 09/24/08 20:46:18 (2 months ago)
- Files:
-
- 1 modified
-
Makefile.PL (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
Makefile.PL
r21924 r22346 155 155 my $config_h = "src/Pugs/pugs_config.h"; 156 156 157 my $EMBED_SMOP = ''; 158 $EMBED_SMOP='--flags=SMOP' if $ENV{PUGS_EMBED} =~ /\bsmop\b/i; 157 159 # Ok, now we have Cabal-Install and all the deps. Let's be lazy and write a simple makefile. 158 160 postamble(<<"."); … … 170 172 \$(RM_F) Pugs.cabal 171 173 \$(CP) Pugs.cabal.in Pugs.cabal 172 ./Setup$Config{_exe} configure --user 174 ./Setup$Config{_exe} configure --user $EMBED_SMOP 173 175 ./Setup$Config{_exe} build 174 176 \$(CP) dist/build/pugs/pugs$Config{_exe} .
