X-Git-Url: https://git.donarmstrong.com/?p=deb_pkgs%2Fautorandr.git;a=blobdiff_plain;f=Makefile;h=d8b27c6e5eac1ce9627e2cb224c3c2aa6473180e;hp=fd35f6a4ff702e3c592fc4c23037f32e678ea999;hb=c58de9b13cf910d934960369241ac003c149f783;hpb=7f76405c8d66b73abb70c818da492f1b294863c8 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)