Projet

Général

Profil

0001-makefile-remove-generated-files-on-make-clean-47476.patch

Nicolas Roche (absent jusqu'au 3 avril), 22 octobre 2020 16:39

Télécharger (1,87 ko)

Voir les différences:

Subject: [PATCH] makefile: remove generated files on make clean (#47476)

 Makefile | 20 ++++++++++++++++++++
 1 file changed, 20 insertions(+)
Makefile
46 46
	cd src/ && python3 render-imgs-dashboard.py ../static/somme-cd80/img/ --normal 4D4D4D --selected 87A738 --title FFFFFF --title-width 80
47 47
	cd src/ && python3 render-imgs-categories.py ../static/hautes-alpes-2018/img/icon-rouge --primary B73720 --secondary B73720
48 48
	cd src/ && python3 render-imgs-categories.py ../static/hautes-alpes-2018/img/icon-bleu --primary 1C515E --secondary 1C515E
49 49
	# tournai
50 50
	cd static/tournai/ && for F in assets/*.svg; do $(INKSCAPE) --without-gui --file $$F --export-area-drawing --export-area-snap --export-png img/$$(basename $$F .svg).png --export-width 40; done
51 51

  
52 52
clean:
53 53
	rm -rf sdist
54
	rm -f themes.json
54 55
	rm -f src/tmp-*.svg
55 56
	rm -f static/*/_data_uris.scss
57
	rm -f static/*/style.css
58
	rm -f static/*/style.css.map
59
	rm -f static/minint/css/styles.css
60
	rm -f static/minint/css/styles.css.map
61
	rm -f static/portal-agent/css/*.css
62
	rm -f static/portal-agent/css/*.css.map
63
	rm -f static/grandlyon-gnm/img/signalement/*.png
64
	rm -f static/orleans/img/*.png
65
	rm -f static/publik/img/*.png
66
	rm -f static/tournai/img/*.png
67
	rm -f static/chateauroux/img/*.png
68
	rm -f debian/publik-base-theme.substvars
69
	rm -f debian/publik-base-theme.debhelper.log
70
	rm -f .sass-cache
71
	for PNG in static/somme-cd80/img/*.png; do \
72
		if [ $$(basename $$PNG) != 'somme_fr_logo.png' ]; then \
73
			rm -f $$PNG; \
74
		fi; \
75
	done
56 76

  
57 77
DIST_FILES = \
58 78
	Makefile \
59 79
	desc.xml \
60 80
	create_themes_json.py \
61 81
	get_themes.py \
62 82
	make_data_uris.py \
63 83
	static templates \
64
-