<commit_before>PACKAGE_NAME=patternfly
VERSION=1.0.3
MILESTONE=master
ifneq ($(MILESTONE),)
SUFFIX:=_$(MILESTONE)
endif
PACKAGE_VERSION=$(VERSION)$(SUFFIX)
PACKAGE_RPM_VERSION=$(VERSION)
PACKAGE_RPM_RELEASE=0.0.$(MILESTONE)
ABI=1

PREFIX=/usr/local
DATAROOT_DIR=$(PREFIX)/share
PKG_DATA_DIR=$(DATAROOT_DIR)/$(PACKAGE_NAME)
RESOURCES_DIR=$(DATAROOT_DIR)/patternfly$(ABI)/resources

.SUFFIXES:
.SUFFIXES: .in

all:	patternfly.spec
	rm -fr build
	mkdir -p build/components
	cp -r dist/* build
	cp -r components/* build/components/
	sed -i "s#../../components#../components#g" \
		build/css/patternfly*.css \
		$(NULL)

clean:
	rm -rf build

install:	all
	install -d -m 0755 "$(DESTDIR)$(RESOURCES_DIR)"
	cp -r build/* "$(DESTDIR)$(RESOURCES_DIR)"
	find "$(DESTDIR)$(RESOURCES_DIR)" -type d -exec chmod 0755 {} +
	find "$(DESTDIR)$(RESOURCES_DIR)" -type f -exec chmod 0644 {} +

.PHONY:	patternfly.spec.in
dist:	patternfly.spec
	git ls-files | tar --files-from /proc/self/fd/0 \
		--xform 's#^#$(PACKAGE_NAME)-$(PACKAGE_VERSION)/#' \
		-czf "$(PACKAGE_NAME)-$(PACKAGE_VERSION).tar.gz" \
		patternfly.spec \
		$(NULL)<commit_msg>renaming patternfly*.css to styles*.css for drop-in compatibility with downstream projects.<commit_after>PACKAGE_NAME=patternfly
VERSION=1.0.3
MILESTONE=master
ifneq ($(MILESTONE),)
SUFFIX:=_$(MILESTONE)
endif
PACKAGE_VERSION=$(VERSION)$(SUFFIX)
PACKAGE_RPM_VERSION=$(VERSION)
PACKAGE_RPM_RELEASE=0.0.$(MILESTONE)
ABI=1

PREFIX=/usr/local
DATAROOT_DIR=$(PREFIX)/share
PKG_DATA_DIR=$(DATAROOT_DIR)/$(PACKAGE_NAME)
RESOURCES_DIR=$(DATAROOT_DIR)/patternfly$(ABI)/resources

.SUFFIXES:
.SUFFIXES: .in

all:	patternfly.spec
	rm -fr build
	mkdir -p build/components
	cp -r dist/* build
	cp -r components/* build/components/
	sed -i "s#../../components#../components#g" \
		build/css/patternfly*.css \
		$(NULL)
	mv build/css/patternfly.css build/css/styles.css
	mv build/css/patternfly.min.css build/css/styles.min.css
	ln -s styles.css build/css/patternfly.css
	ln -s styles.min.css build/css/patternfly.min.css

clean:
	rm -rf build

install:	all
	install -d -m 0755 "$(DESTDIR)$(RESOURCES_DIR)"
	cp -r build/* "$(DESTDIR)$(RESOURCES_DIR)"
	find "$(DESTDIR)$(RESOURCES_DIR)" -type d -exec chmod 0755 {} +
	find "$(DESTDIR)$(RESOURCES_DIR)" -type f -exec chmod 0644 {} +

.PHONY:	patternfly.spec.in
dist:	patternfly.spec
	git ls-files | tar --files-from /proc/self/fd/0 \
		--xform 's#^#$(PACKAGE_NAME)-$(PACKAGE_VERSION)/#' \
		-czf "$(PACKAGE_NAME)-$(PACKAGE_VERSION).tar.gz" \
		patternfly.spec \
		$(NULL)
{'fraction_non_alphanumeric': 0.17484177215189872, 'fraction_numerical': 0.015031645569620253, 'mean_word_length': 4.670403587443946, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, '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': '1802043', 'n_tokens_mistral': 1093, 'n_tokens_neox': 1008, 'n_words': 188}