diff options
Diffstat (limited to 'tdehtml/css/makeprop')
-rw-r--r-- | tdehtml/css/makeprop | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tdehtml/css/makeprop b/tdehtml/css/makeprop index b01ed7319..5a806d6f7 100644 --- a/tdehtml/css/makeprop +++ b/tdehtml/css/makeprop @@ -26,7 +26,7 @@ grep "^[^\#]" cssproperties.in > cssproperties.strip echo -e '%{\n/* This file is automatically generated from cssproperties.in by makeprop, do not edit */\n/* Copyright 1999 W. Bastian */\n#include "cssproperties.h"\n%}\nstruct props {\n const char *name;\n int id;\n};\n\nstatic const struct props * findProp (const char *str, unsigned int len);\n\n%%' > cssproperties.gperf cat cssproperties.strip | awk '{ do { prop = $0; gsub("-", "_"); print prop ", CSS_PROP_" toupper($0) } while (getline) }' >> cssproperties.gperf echo '%%' >> cssproperties.gperf -echo -e '/* This file is automatically generated from cssproperties.in by makeprop, do not edit */\n/* Copyright 1998 W. Bastian */\n\n#ifndef CSSPROPERTIES_H\n#define CSSPROPERTIES_H\n\nDOM::DOMString getPropertyName(unsigned short id) KDE_NO_EXPORT;\n' > cssproperties.h +echo -e '/* This file is automatically generated from cssproperties.in by makeprop, do not edit */\n/* Copyright 1998 W. Bastian */\n\n#ifndef CSSPROPERTIES_H\n#define CSSPROPERTIES_H\n\nDOM::DOMString getPropertyName(unsigned short id) TDE_NO_EXPORT;\n' > cssproperties.h cat cssproperties.strip | awk '{ \ i=1; \ print "#define CSS_PROP_INVALID 0"; \ |