aboutsummaryrefslogtreecommitdiff
path: root/hooks/cmake_install.cmake.in
blob: 5705e25ae165444b1ee98a0e5c237e7908347726 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
include(GNUInstallDirs)

foreach(hook
          auto
          install_pre
          install_fail
          install_post
          install_all_pre
          install_all_post
          install_pretend_pre
          install_pretend_post
          install_pretend_display_item_pre
          install_pretend_display_item_post
          install_task_execute_pre
          install_task_execute_post
          clean_all_post
          clean_all_pre
          clean_fail
          clean_post
          clean_pre
          uninstall_pre
          uninstall_fail
          uninstall_post
          uninstall_all_pre
          uninstall_all_post
          sync_pre
          sync_fail
          sync_post
          syn_all_pre
          sync_all_post
          fetch_pre
          fetch_post
          fetch_all_pre
          fetch_all_post)
  execute_process(COMMAND
                    "${CMAKE_COMMAND}" -E touch "$ENV{DESTDIR}${CMAKE_INSTALL_FULL_DATADIR}/paludis/hooks/${hook}/.keep")
  execute_process(COMMAND
                    "${CMAKE_COMMAND}" -E touch "$ENV{DESTDIR}${CMAKE_INSTALL_FULL_LIBDIR}/paludis/hooks/${hook}/.keep")
endforeach()
foreach(phase
          ebuild_metadata_pre
          ebuild_metadata_fail
          ebuild_metadata_post
          ebuild_variable_pre
          ebuild_variable_fail
          ebuild_variable_post
          ebuild_init_pre
          ebuild_init_fail
          ebuild_init_post
          ebuild_initmisc_pre
          ebuild_initmisc_fail
          ebuild_initmisc_post
          ebuild_fetch_extra_pre
          ebuild_fetch_extra_fail
          ebuild_fetch_extra_post
          ebuild_tidyup_pre
          ebuild_tidyup_fail
          ebuild_tidyup_post
          ebuild_unpack_pre
          ebuild_unpack_fail
          ebuild_unpack_post
          ebuild_prepare_pre
          ebuild_prepare_fail
          ebuild_prepare_post
          ebuild_configure_pre
          ebuild_configure_fail
          ebuild_configure_post
          ebuild_compile_pre
          ebuild_compile_fail
          ebuild_compile_post
          ebuild_install_pre
          ebuild_install_fail
          ebuild_install_post
          ebuild_test_pre
          ebuild_test_fail
          ebuild_test_post
          ebuild_test_expensive_pre
          ebuild_test_expensive_fail
          ebuild_test_expensive_post
          ebuild_pretend_pre
          ebuild_pretend_fail
          ebuild_pretend_post
          ebuild_bad_options_pre
          ebuild_bad_options_fail
          ebuild_bad_options_post
          ebuild_bad_required_use_pre
          ebuild_bad_required_use_fail
          ebuild_bad_required_use_post
          ebuild_setup_pre
          ebuild_setup_fail
          ebuild_setup_post
          ebuild_config_pre
          ebuild_config_fail
          ebuild_config_post
          ebuild_nofetch_pre
          ebuild_nofetch_fail
          ebuild_nofetch_post
          ebuild_preinst_pre
          ebuild_preinst_fail
          ebuild_preinst_post
          ebuild_postinst_pre
          ebuild_postinst_fail
          ebuild_postinst_post
          ebuild_prerm_pre
          ebuild_prerm_fail
          ebuild_prerm_post
          ebuild_postrm_pre
          ebuild_postrm_fail
          ebuild_postrm_post
          ebuild_info_pre
          ebuild_info_fail
          ebuild_info_post
          ebuild_infovars_pre
          ebuild_infovars_fail
          ebuild_infovars_post
          ebuild_pivotbin_pre
          ebuild_pivotbin_fail
          ebuild_pivotbin_post
          ebuild_installbin_pre
          ebuild_installbin_fail
          ebuild_installbin_post
          ebuild_saveenv_pre
          ebuild_saveenv_fail
          ebuild_saveenv_post
          ebuild_loadenv_pre
          ebuild_loadenv_fail
          ebuild_loadenv_post
          ebuild_killold_pre
          ebuild_killold_fail
          ebuild_killold_post)
  execute_process(COMMAND
                    "${CMAKE_COMMAND}" -E touch "$ENV{DESTDIR}${CMAKE_INSTALL_FULL_DATADIR}/paludis/hooks/${phase}/.keep")
  execute_process(COMMAND
                    "${CMAKE_COMMAND}" -E touch "$ENV{DESTDIR}${CMAKE_INSTALL_FULL_LIBDIR}/paludis/hooks/${phase}/.keep")
endforeach()
foreach(level einfo;ewarn;eerror;elog)
  execute_process(COMMAND
                    "${CMAKE_COMMAND}" -E touch "$ENV{DESTDIR}${CMAKE_INSTALL_FULL_DATADIR}/paludis/hooks/${level}/.keep")
  execute_process(COMMAND
                    "${CMAKE_COMMAND}" -E touch "$ENV{DESTDIR}${CMAKE_INSTALL_FULL_LIBDIR}/paludis/hooks/${level}/.keep")
endforeach()
foreach(phase
          auto
          install_pre
          install_post
          install_all_pre
          install_all_post
          install_pretend_pre
          install_pretend_post
          uninstall_pre
          uninstall_post
          uninstall_all_pre
          uninstall_all_post
          sync_pre
          sync_post
          sync_all_pre
          sync_all_post
          fetch_all_pre
          fetch_all_post
          fetch_all_all_pre
          fetch_all_all_post)
  execute_process(COMMAND
                    "${CMAKE_COMMAND}" -E touch "$ENV{DESTDIR}${CMAKE_INSTALL_FULL_LIBEXECDIR}/paludis/hooks/${phase}/.keep")
endforeach()
foreach(phase
          merger_unlink_file_pre
          merger_unlink_file_post
          merger_unlink_dir_pre
          merger_unlink_dir_post
          merger_unlink_sym_pre
          merger_unlink_sym_post
          merger_unlink_misc_pre
          merger_unlink_misc_post
          merger_install_pre
          merger_install_post
          merger_install_file_pre
          merger_install_file_post
          merger_install_sym_pre
          merger_install_sym_post
          merger_install_dir_pre
          merger_install_dir_post
          merger_check_pre
          merger_check_post
          merger_check_file_pre
          merger_check_file_post
          merger_check_sym_pre
          merger_check_sym_post
          merger_check_dir_pre
          merger_check_dir_post
          unmerger_unlink_pre
          unmerger_unlink_post
          unmerger_unlink_file_pre
          unmerger_unlink_file_post
          unmerger_unlink_dir_pre
          unmerger_unlink_dir_post
          unmerger_unlink_sym_pre
          unmerger_unlink_sym_post
          unmerger_unlink_misc_pre
          unmerger_unlink_misc_post)
  execute_process(COMMAND
                    "${CMAKE_COMMAND}" -E touch "$ENV{DESTDIR}${CMAKE_INSTALL_FULL_DATADIR}/paludis/hooks/${phase}/.keep")
  execute_process(COMMAND
                    "${CMAKE_COMMAND}" -E touch "$ENV{DESTDIR}${CMAKE_INSTALL_FULL_LIBDIR}/paludis/hooks/${phase}/.keep")
endforeach()
execute_process(COMMAND
                  "${CMAKE_COMMAND}" -E touch "$ENV{DESTDIR}${CMAKE_INSTALL_FULL_LOCALSTATEDIR}/gentoo/news/.keep")
foreach(directory
          clean_all_pre
          clean_all_post
          clean_pre
          clean_post
          uninstall_all_pre
          uninstall_all_post
          uninstall_pre
          uninstall_post
          install_pre
          install_post
          install_all_pre
          install_all_post
          install_pretend_pre
          install_pretend_post
          sync_pre
          sync_post
          sync_all_pre
          sync_all_post
          fetch_all_pre
          fetch_all_post
          fetch_pre
          fetch_post)
  execute_process(COMMAND
                    "${CMAKE_COMMAND}" -E make_directory "$ENV{DESTDIR}${CMAKE_INSTALL_FULL_LIBEXECDIR}/paludis/hooks/${directory}")
endforeach()
execute_process(COMMAND "${CMAKE_COMMAND}" -E create_symlink "${CMAKE_INSTALL_FULL_LIBEXECDIR}/paludis/hooks/common/eselect_env_update.bash" "$ENV{DESTDIR}${CMAKE_INSTALL_FULL_LIBEXECDIR}/paludis/hooks/install_all_post/eselect_env_update.bash")
execute_process(COMMAND "${CMAKE_COMMAND}" -E create_symlink "${CMAKE_INSTALL_FULL_LIBEXECDIR}/paludis/hooks/common/eselect_env_update.bash" "$ENV{DESTDIR}${CMAKE_INSTALL_FULL_LIBEXECDIR}/paludis/hooks/uninstall_all_post/eselect_env_update.bash")
execute_process(COMMAND "${CMAKE_COMMAND}" -E create_symlink "${CMAKE_INSTALL_FULL_LIBEXECDIR}/paludis/hooks/common/gnu_info_index.bash" "$ENV{DESTDIR}${CMAKE_INSTALL_FULL_LIBEXECDIR}/paludis/hooks/install_all_post/gnu_info_index.bash")
execute_process(COMMAND "${CMAKE_COMMAND}" -E create_symlink "${CMAKE_INSTALL_FULL_LIBEXECDIR}/paludis/hooks/common/gnu_info_index.bash" "$ENV{DESTDIR}${CMAKE_INSTALL_FULL_LIBEXECDIR}/paludis/hooks/uninstall_all_post/gnu_info_index.bash")
execute_process(COMMAND "${CMAKE_COMMAND}" -E create_symlink "${CMAKE_INSTALL_FULL_LIBEXECDIR}/paludis/hooks/common/log.bash" "$ENV{DESTDIR}${CMAKE_INSTALL_FULL_LIBEXECDIR}/paludis/hooks/install_all_pre/log.bash")
execute_process(COMMAND "${CMAKE_COMMAND}" -E create_symlink "${CMAKE_INSTALL_FULL_LIBEXECDIR}/paludis/hooks/common/log.bash" "$ENV{DESTDIR}${CMAKE_INSTALL_FULL_LIBEXECDIR}/paludis/hooks/install_all_post/log.bash")
execute_process(COMMAND "${CMAKE_COMMAND}" -E create_symlink "${CMAKE_INSTALL_FULL_LIBEXECDIR}/paludis/hooks/common/log.bash" "$ENV{DESTDIR}${CMAKE_INSTALL_FULL_LIBEXECDIR}/paludis/hooks/install_pre/log.bash")
execute_process(COMMAND "${CMAKE_COMMAND}" -E create_symlink "${CMAKE_INSTALL_FULL_LIBEXECDIR}/paludis/hooks/common/log.bash" "$ENV{DESTDIR}${CMAKE_INSTALL_FULL_LIBEXECDIR}/paludis/hooks/install_post/log.bash")
execute_process(COMMAND "${CMAKE_COMMAND}" -E create_symlink "${CMAKE_INSTALL_FULL_LIBEXECDIR}/paludis/hooks/common/log.bash" "$ENV{DESTDIR}${CMAKE_INSTALL_FULL_LIBEXECDIR}/paludis/hooks/fetch_all_pre/log.bash")
execute_process(COMMAND "${CMAKE_COMMAND}" -E create_symlink "${CMAKE_INSTALL_FULL_LIBEXECDIR}/paludis/hooks/common/log.bash" "$ENV{DESTDIR}${CMAKE_INSTALL_FULL_LIBEXECDIR}/paludis/hooks/fetch_all_post/log.bash")
execute_process(COMMAND "${CMAKE_COMMAND}" -E create_symlink "${CMAKE_INSTALL_FULL_LIBEXECDIR}/paludis/hooks/common/log.bash" "$ENV{DESTDIR}${CMAKE_INSTALL_FULL_LIBEXECDIR}/paludis/hooks/fetch_pre/log.bash")
execute_process(COMMAND "${CMAKE_COMMAND}" -E create_symlink "${CMAKE_INSTALL_FULL_LIBEXECDIR}/paludis/hooks/common/log.bash" "$ENV{DESTDIR}${CMAKE_INSTALL_FULL_LIBEXECDIR}/paludis/hooks/fetch_post/log.bash")
execute_process(COMMAND "${CMAKE_COMMAND}" -E create_symlink "${CMAKE_INSTALL_FULL_LIBEXECDIR}/paludis/hooks/common/log.bash" "$ENV{DESTDIR}${CMAKE_INSTALL_FULL_LIBEXECDIR}/paludis/hooks/clean_all_pre/log.bash")
execute_process(COMMAND "${CMAKE_COMMAND}" -E create_symlink "${CMAKE_INSTALL_FULL_LIBEXECDIR}/paludis/hooks/common/log.bash" "$ENV{DESTDIR}${CMAKE_INSTALL_FULL_LIBEXECDIR}/paludis/hooks/clean_all_post/log.bash")
execute_process(COMMAND "${CMAKE_COMMAND}" -E create_symlink "${CMAKE_INSTALL_FULL_LIBEXECDIR}/paludis/hooks/common/log.bash" "$ENV{DESTDIR}${CMAKE_INSTALL_FULL_LIBEXECDIR}/paludis/hooks/clean_pre/log.bash")
execute_process(COMMAND "${CMAKE_COMMAND}" -E create_symlink "${CMAKE_INSTALL_FULL_LIBEXECDIR}/paludis/hooks/common/log.bash" "$ENV{DESTDIR}${CMAKE_INSTALL_FULL_LIBEXECDIR}/paludis/hooks/clean_post/log.bash")
execute_process(COMMAND "${CMAKE_COMMAND}" -E create_symlink "${CMAKE_INSTALL_FULL_LIBEXECDIR}/paludis/hooks/common/log.bash" "$ENV{DESTDIR}${CMAKE_INSTALL_FULL_LIBEXECDIR}/paludis/hooks/uninstall_all_pre/log.bash")
execute_process(COMMAND "${CMAKE_COMMAND}" -E create_symlink "${CMAKE_INSTALL_FULL_LIBEXECDIR}/paludis/hooks/common/log.bash" "$ENV{DESTDIR}${CMAKE_INSTALL_FULL_LIBEXECDIR}/paludis/hooks/uninstall_all_post/log.bash")
execute_process(COMMAND "${CMAKE_COMMAND}" -E create_symlink "${CMAKE_INSTALL_FULL_LIBEXECDIR}/paludis/hooks/common/log.bash" "$ENV{DESTDIR}${CMAKE_INSTALL_FULL_LIBEXECDIR}/paludis/hooks/uninstall_pre/log.bash")
execute_process(COMMAND "${CMAKE_COMMAND}" -E create_symlink "${CMAKE_INSTALL_FULL_LIBEXECDIR}/paludis/hooks/common/log.bash" "$ENV{DESTDIR}${CMAKE_INSTALL_FULL_LIBEXECDIR}/paludis/hooks/uninstall_post/log.bash")
execute_process(COMMAND "${CMAKE_COMMAND}" -E create_symlink "${CMAKE_INSTALL_FULL_LIBEXECDIR}/paludis/hooks/common/log.bash" "$ENV{DESTDIR}${CMAKE_INSTALL_FULL_LIBEXECDIR}/paludis/hooks/sync_pre/log.bash")
execute_process(COMMAND "${CMAKE_COMMAND}" -E create_symlink "${CMAKE_INSTALL_FULL_LIBEXECDIR}/paludis/hooks/common/log.bash" "$ENV{DESTDIR}${CMAKE_INSTALL_FULL_LIBEXECDIR}/paludis/hooks/sync_post/log.bash")
execute_process(COMMAND "${CMAKE_COMMAND}" -E create_symlink "${CMAKE_INSTALL_FULL_LIBEXECDIR}/paludis/hooks/common/installable_cache_regen.bash" "$ENV{DESTDIR}${CMAKE_INSTALL_FULL_LIBEXECDIR}/paludis/hooks/sync_all_post/installable_cache_regen.bash")
execute_process(COMMAND "${CMAKE_COMMAND}" -E create_symlink "${CMAKE_INSTALL_FULL_LIBEXECDIR}/paludis/hooks/common/installed_cache_regen.bash" "$ENV{DESTDIR}${CMAKE_INSTALL_FULL_LIBEXECDIR}/paludis/hooks/install_post/installed_cache_regen.bash")
execute_process(COMMAND "${CMAKE_COMMAND}" -E create_symlink "${CMAKE_INSTALL_FULL_LIBEXECDIR}/paludis/hooks/common/installed_cache_regen.bash" "$ENV{DESTDIR}${CMAKE_INSTALL_FULL_LIBEXECDIR}/paludis/hooks/uninstall_post/installed_cache_regen.bash")
execute_process(COMMAND "${CMAKE_COMMAND}" -E create_symlink "${CMAKE_INSTALL_FULL_LIBEXECDIR}/paludis/hooks/common/installed_cache_regen.bash" "$ENV{DESTDIR}${CMAKE_INSTALL_FULL_LIBEXECDIR}/paludis/hooks/clean_post/installed_cache_regen.bash")