aboutsummaryrefslogtreecommitdiffstats
path: root/libical/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'libical/scripts')
-rwxr-xr-xlibical/scripts/mkderivedvalues.pl4
1 files changed, 2 insertions, 2 deletions
diff --git a/libical/scripts/mkderivedvalues.pl b/libical/scripts/mkderivedvalues.pl
index a04928ab59..10dac3a75f 100755
--- a/libical/scripts/mkderivedvalues.pl
+++ b/libical/scripts/mkderivedvalues.pl
@@ -156,7 +156,7 @@ while(<F>)
$union_data = $lc;
}
- if ($opt_c && $mode eq "std") {
+ if ($opt_c && $mode eq "autogen") {
print <<EOM;
icalvalue*
@@ -202,7 +202,7 @@ icalvalue_get_${lc}(icalvalue* value)
EOM
-} elsif($opt_h) {
+} elsif($opt_h && $mode eq "autogen") {
print <<EOM;
/* $value $comment */