File: Makefile.am

package info (click to toggle)
hkl 5.1.4-1
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 26,708 kB
  • sloc: ansic: 56,730; haskell: 5,991; sh: 4,991; cpp: 1,854; makefile: 1,124; python: 925; xml: 76; lisp: 55
file content (25 lines) | stat: -rw-r--r-- 551 bytes parent folder | download
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
converter=blender_gltf_converter.py

models=soleil-diffabs.yaml soleil-cristal-4c.yaml
glbs=$(models:.yaml=.glb)
blends=$(models:.yaml=.blend)
pngs=$(models:.yaml=.png)

.blend.glb:
	$(BLENDER) -b -P $(converter) -- -mp ./$<

.blend.png:
	$(BLENDER_THUMBNAILER) $< $@

EXTRA_DIST=$(converter) $(models) $(glbs) $(blends) $(pngs)

CLEANFILES=$(glbs) $(pngs)

hkl3ddir = $(pkgdatadir)/hkl3d
hkl3d_DATA = $(EXTRA_DIST)

%.blend:
	wget https://people.debian.org/~picca/hkl3d/$@ -O $@

export-all-model:
	scp $(blends) people.debian.org:public_html/hkl3d/