Skip to content

Commit

Permalink
Fix build
Browse files Browse the repository at this point in the history
  • Loading branch information
Leon Grünewald committed Mar 28, 2021
1 parent 037db93 commit eba864b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ LDFLAGS+=$(shell pkg-config --libs x11 2> /dev/null)
LDFLAGS+=$(shell pkg-config --libs xrandr 2> /dev/null)
LDFLAGS+=-Xlinker -rpath=/usr/local/lib

PREFIX=/usr
PREFIX ?= /usr

OTHERFILES=README.md CHANGELIST COPYRIGHT keynav.pod \
keynavrc Makefile version.sh VERSION
Expand Down
7 changes: 3 additions & 4 deletions keynav.spec
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,8 @@ BuildRequires: libxdo-devel
%prep
%setup -q
make %{?_smp_mflags}

rm -rf $RPM_BUILD_ROOT
make DESTDIR=$RPM_BUILD_ROOT install
make PREFIX=%{buildroot}/usr/ install

%files
%doc
/usr/bin/keynav
/usr/share/man/man1/keynav.1.gz

0 comments on commit eba864b

Please sign in to comment.