autorandr: Install manpage

This commit is contained in:
Michal Sojka 2020-11-16 09:34:34 +01:00
parent 6aea53c3ce
commit 7837ec6296

View File

@ -21,6 +21,8 @@ in
--replace '["xrandr"]' '["${xrandr}/bin/xrandr"]'
'';
outputs = [ "out" "man" ];
installPhase = ''
runHook preInstall
make install TARGETS='autorandr' PREFIX=$out
@ -29,6 +31,8 @@ in
make install TARGETS='autostart_config' PREFIX=$out DESTDIR=$out
make install TARGETS='manpage' PREFIX=$man
${if systemd != null then ''
make install TARGETS='systemd udev' PREFIX=$out DESTDIR=$out \
SYSTEMD_UNIT_DIR=/lib/systemd/system \