Changeset 23891 for trunk/ippTools/share/Makefile.am
- Timestamp:
- Apr 16, 2009, 4:26:15 PM (17 years ago)
- File:
-
- 1 edited
-
trunk/ippTools/share/Makefile.am (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ippTools/share/Makefile.am
r23885 r23891 1 1 pxadmin_create_mirror_tables.sql: pxadmin_create_tables.sql 2 2 -$(RM) pxadmin_create_mirror_tables.sql 3 $(SED) -n -e '/^ *$$/ d' -e 's/--.*//' -e '/./ H' -e '/;/ { x ; s/AUTO_INCREMENT//g ; s/\n//g ; s/,\{0,1\} *FOREIGN *KEY *([a-zA-Z][a-zA-Z0-9\-\_, ]*) *REFERENCES *[a-zA-Z]\{1,\}([a-zA-Z][a-zA-Z0-9\-\_, ]*)//g ; s/( */(/g ; s/ *)/)/g ; s/ */ /g ; p ; s/.*//g ; x }'pxadmin_create_tables.sql > pxadmin_create_mirror_tables.sql3 $(SED) -n -e '/^ *$$/ d' -e 's/--.*//' -e '/./ H' -e '/;/ !b' -e 'x ; s/\n//g ; /^CREATE TABLE receive/ { b print }' -e 's/AUTO_INCREMENT//g ; s/,\{0,1\} *FOREIGN *KEY *([a-zA-Z][a-zA-Z0-9\-\_, ]*) *REFERENCES *[a-zA-Z]\{1,\}([a-zA-Z][a-zA-Z0-9\-\_, ]*)//g' -e ': print' -e 's/( */(/g ; s/ *)/)/g ; s/ */ /g ; p ; s/.*//g ; x' pxadmin_create_tables.sql > pxadmin_create_mirror_tables.sql 4 4 echo '-- This comment line is here to avoid empty query error.' >> pxadmin_create_mirror_tables.sql 5 5
Note:
See TracChangeset
for help on using the changeset viewer.
