~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to scripts/Makefile.am

Deleted tons of pointless garbage from scripts.

Show diffs side-by-side

added added

removed removed

Lines of Context:
15
15
 
16
16
## Process this file with automake to create Makefile.in
17
17
 
18
 
BUILT_SOURCES = mysql_fix_privilege_tables.sql \
19
 
                mysql_fix_privilege_tables_sql.c
20
 
 
21
 
EXTRA_PROGRAMS =        comp_sql
22
18
 
23
19
bin_SCRIPTS =           @server_scripts@ \
24
 
                        msql2mysql \
25
20
                        mysql_config \
26
 
                        mysql_fix_privilege_tables \
27
21
                        mysql_fix_extensions \
28
 
                        mysql_setpermission \
29
 
                        mysql_secure_installation \
30
 
                        mysql_zap \
31
 
                        mysqlaccess \
32
 
                        mysqlbug \
33
22
                        mysql_convert_table_format \
34
23
                        mysql_find_rows \
35
24
                        mysqlhotcopy \
41
30
 
42
31
EXTRA_SCRIPTS =         make_binary_distribution.sh \
43
32
                        make_sharedlib_distribution.sh \
44
 
                        msql2mysql.sh \
45
33
                        mysql_config.sh \
46
34
                        mysql_config.pl.in \
47
 
                        mysql_fix_privilege_tables.sh \
48
35
                        mysql_fix_extensions.sh \
49
36
                        mysql_install_db.sh \
50
 
                        mysql_install_db.pl.in \
51
 
                        mysql_setpermission.sh \
52
 
                        mysql_secure_installation.sh \
53
 
                        mysql_secure_installation.pl.in \
54
 
                        mysql_zap.sh \
55
 
                        mysqlaccess.sh \
56
 
                        mysqlbug.sh \
57
37
                        mysql_convert_table_format.sh \
58
38
                        mysql_find_rows.sh \
59
39
                        mysqlhotcopy.sh \
62
42
                        mysqld_safe.sh
63
43
 
64
44
EXTRA_DIST =            $(EXTRA_SCRIPTS) \
65
 
                        mysqlaccess.conf \
66
 
                        mysqlbug \
67
 
                        make_win_bin_dist \
68
 
                        mysql_fix_privilege_tables_sql.c \
69
45
                        mysql_system_tables_fix.sql
70
46
 
71
47
dist_pkgdata_DATA =     fill_help_tables.sql \
72
 
                        mysql_fix_privilege_tables.sql \
73
48
                        mysql_system_tables.sql \
74
 
                        mysql_system_tables_data.sql \
75
49
                        mysql_test_data_timezone.sql
76
50
 
77
51
CLEANFILES =            @server_scripts@ \
78
 
                        comp_sql \
79
52
                        make_binary_distribution \
80
53
                        make_sharedlib_distribution \
81
 
                        msql2mysql \
82
54
                        mysql_config \
83
 
                        mysql_fix_privilege_tables \
84
55
                        mysql_fix_extensions \
85
 
                        mysql_setpermission \
86
 
                        mysql_secure_installation \
87
 
                        mysql_zap \
88
 
                        mysqlaccess \
89
56
                        mysql_convert_table_format \
90
57
                        mysql_find_rows \
91
58
                        mysqlhotcopy \
97
64
# Default same as 'pkgdatadir', but we can override it
98
65
pkgsuppdir =            $(datadir)/@PACKAGE@
99
66
 
100
 
# mysqlbug should be distributed built so that people can report build
101
 
# failures with it.
102
 
DISTCLEANFILES =        $(BUILT_SOURCES) mysqlbug
103
 
 
104
 
# We want the right version and configure comand line in mysqlbug
105
 
mysqlbug: ${top_builddir}/config.status mysqlbug.sh
106
 
 
107
 
# Build mysql_fix_privilege_tables.sql from the files that contain
108
 
# the system tables for this version of MySQL plus any commands
109
 
# needed to upgrade the system tables from an older version
110
 
mysql_fix_privilege_tables.sql: $(top_srcdir)/scripts/mysql_system_tables.sql \
111
 
                                $(top_srcdir)/scripts/mysql_system_tables_fix.sql
112
 
        @echo "Building $@";
113
 
        @cat $(srcdir)/mysql_system_tables.sql $(srcdir)/mysql_system_tables_fix.sql > $@
114
 
 
115
 
 
116
 
#
117
 
# Build mysql_fix_privilege_tables_sql.c from
118
 
# mysql_fix_privileges_tables.sql using comp_sql
119
 
# The "sleep" ensures the generated file has a younger timestamp than its source
120
 
# (which may have been generated in this very same "make" run).
121
 
#
122
 
mysql_fix_privilege_tables_sql.c: $(builddir)/comp_sql$(EXEEXT) mysql_fix_privilege_tables.sql
123
 
        $(builddir)/comp_sql$(EXEEXT) \
124
 
          mysql_fix_privilege_tables \
125
 
            $(top_srcdir)/scripts/mysql_fix_privilege_tables.sql $@
126
 
 
127
67
 
128
68
SUFFIXES = .sh
129
69