@@ -259,12 +259,12 @@ _output/share/lima/templates/%: examples/%
259
259
# _output/share/lima/examples
260
260
.PHONY : create-examples-link
261
261
create-examples-link : _output/share/lima/examples
262
- _output/share/lima/examples : default_template # depends on minimal template target
262
+ _output/share/lima/examples : _output/share/lima/templates
263
263
ifneq ($(GOOS ) ,windows)
264
264
ln -sf templates $@
265
265
else
266
- # copy from templates builded in build process
267
- cp -aL _output/share/lima/templates $@
266
+ # copy from templates built in build process
267
+ cp -aL $< $@
268
268
endif
269
269
270
270
# _output/share/doc/lima
@@ -287,19 +287,19 @@ MKDIR_TARGETS += _output/share/doc/lima
287
287
288
288
.PHONY : create-links-in-doc-dir
289
289
create-links-in-doc-dir : _output/share/doc/lima/templates _output/share/doc/lima/examples
290
- _output/share/doc/lima/templates : default_template # depends on minimal template target
290
+ _output/share/doc/lima/templates : _output/share/lima/templates
291
291
ifneq ($(GOOS ) ,windows)
292
292
ln -sf ../../lima/templates $@
293
293
else
294
- # copy from templates builded in build process
295
- cp -aL _output/share/lima/templates $@
294
+ # copy from templates built in build process
295
+ cp -aL $< $@
296
296
endif
297
- _output/share/doc/lima/examples : default_template # depends on minimal template target
297
+ _output/share/doc/lima/examples : _output/share/doc/lima/templates
298
298
ifneq ($(GOOS ) ,windows)
299
299
ln -sf templates $@
300
300
else
301
- # copy from templates builded in build process
302
- cp -aL _output/share/lima/templates $@
301
+ # copy from templates built in build process
302
+ cp -aL $< $@
303
303
endif
304
304
305
305
# _output/share/man/man1
0 commit comments