X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=Makefile;h=d8b27c6e5eac1ce9627e2cb224c3c2aa6473180e;hb=c58de9b13cf910d934960369241ac003c149f783;hp=fd35f6a4ff702e3c592fc4c23037f32e678ea999;hpb=102640fe279d62e81bc88d6661a017c63ecdce19;p=deb_pkgs%2Fautorandr.git diff --git a/Makefile b/Makefile index fd35f6a..d8b27c6 100644 --- a/Makefile +++ b/Makefile @@ -1,5 +1,6 @@ DESTDIR=/ PREFIX=/usr/ +RPM_SPEC=contrib/packaging/rpm/autorandr.spec .PHONY: all install uninstall autorandr bash_completion autostart_config pmutils systemd udev @@ -151,3 +152,7 @@ uninstall: $(patsubst %,uninstall_%,$(TARGETS)) deb: ./contrib/packaging/debian/make_deb.sh + +rpm: + spectool -g -R $(RPM_SPEC) + rpmbuild -ba $(RPM_SPEC)