<commit_before># Create SSL enabled css files

ssl : ssl-dir ssl\/default.css ssl\/extra.css ssl\/main.css

ssl-dir :
	if test ! -d ssl; then mkdir ssl; fi

ssl\/default.css : default.css
	sed 's/http:\/\//https:\/\//' default.css > ssl/default.css

ssl\/extra.css : extra.css
	sed 's/http:\/\//https:\/\//' extra.css > ssl/extra.css

ssl\/main.css : main.css
	sed 's/http:\/\//https:\/\//' main.css > ssl/main.css
<commit_msg>Ref #92. Opdateret makefile således at css filer bliver komprimeret. SSL  versionerne af stylesheets er blevet flyttet til compressed/ssl.<commit_after># Create SSL enabled css files

ssl : compressed ssl-dir compressed\/ssl\/default.css compressed\/ssl\/extra.css compressed\/ssl\/main.css

ssl-dir :
	if test ! -d compressed/ssl; then mkdir compressed/ssl; fi

compressed\/ssl\/default.css : compressed\/default.css
	sed 's/http:\/\//https:\/\//' compressed/default.css > compressed/ssl/default.css

compressed\/ssl\/extra.css : compressed\/extra.css
	sed 's/http:\/\//https:\/\//' compressed/extra.css > compressed/ssl/extra.css

compressed\/ssl\/main.css : compressed\/main.css
	sed 's/http:\/\//https:\/\//' compressed/main.css > compressed/ssl/main.css

# Compression

CSS_TIDY = csstidy
CSS_TIDY_OPTIONS = template=highest

compressed : compressed-dir compressed\/default.css compressed\/main.css compressed\/extra.css compressed\/print.css compressed\/datepicker.css compressed\/uni-form.css compressed\/uni-form-generic.css

compressed-dir :
	if test ! -d compressed; then mkdir compressed; fi

compressed\/default.css : default.css
	$(CSS_TIDY) default.css $(CSS_TIDY_OPTIONS) compressed/default.css

compressed\/main.css : main.css
	$(CSS_TIDY) main.css $(CSS_TIDY_OPTIONS) compressed/main.css

compressed\/extra.css : extra.css
	$(CSS_TIDY) extra.css $(CSS_TIDY_OPTIONS) compressed/extra.css

compressed\/print.css : print.css
	$(CSS_TIDY) print.css $(CSS_TIDY_OPTIONS) compressed/print.css

compressed\/datepicker.css : datepicker.css
	$(CSS_TIDY) datepicker.css $(CSS_TIDY_OPTIONS) compressed/datepicker.css

compressed\/uni-form.css : uni-form.css
	$(CSS_TIDY) uni-form.css $(CSS_TIDY_OPTIONS) compressed/uni-form.css

compressed\/uni-form-generic.css : uni-form-generic.css
	$(CSS_TIDY) uni-form-generic.css $(CSS_TIDY_OPTIONS) compressed/uni-form-generic.css

# general 
clean :
	if test -d compressed; then rm -R compressed; fi

{'fraction_non_alphanumeric': 0.1554993678887484, 'fraction_numerical': 0.0008428150021070375, 'mean_word_length': 3.7670682730923697, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 9, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3335992', 'n_tokens_mistral': 882, 'n_tokens_neox': 834, 'n_words': 171}