diff --git a/gnu/packages/pdf.scm b/gnu/packages/pdf.scm index 82e8c8884b..541281332d 100644 --- a/gnu/packages/pdf.scm +++ b/gnu/packages/pdf.scm @@ -171,9 +171,9 @@ (define-public zathura-cb ("zathura" ,zathura))) (build-system gnu-build-system) (arguments - `(#:make-flags - `(,(string-append "DESTDIR=" (assoc-ref %outputs "out")) - "PLUGINDIR=/lib/zathura" "CC=gcc") + `(#:make-flags (list (string-append "PREFIX=" %output) + (string-append "PLUGINDIR=" %output "/lib/zathura") + "CC=gcc") #:tests? #f ; Package does not contain tests. #:phases (alist-delete 'configure %standard-phases))) @@ -202,9 +202,9 @@ (define-public zathura-ps ("zathura" ,zathura))) (build-system gnu-build-system) (arguments - `(#:make-flags - `(,(string-append "DESTDIR=" (assoc-ref %outputs "out")) - "PLUGINDIR=/lib/zathura" "CC=gcc") + `(#:make-flags (list (string-append "PREFIX=" %output) + (string-append "PLUGINDIR=" %output "/lib/zathura") + "CC=gcc") #:tests? #f ; Package does not contain tests. #:phases (alist-delete 'configure %standard-phases))) @@ -234,9 +234,9 @@ (define-public zathura-djvu ("zathura" ,zathura))) (build-system gnu-build-system) (arguments - `(#:make-flags - `(,(string-append "DESTDIR=" (assoc-ref %outputs "out")) - "PLUGINDIR=/lib/zathura" "CC=gcc") + `(#:make-flags (list (string-append "PREFIX=" %output) + (string-append "PLUGINDIR=" %output "/lib/zathura") + "CC=gcc") #:tests? #f ; Package does not contain tests. #:phases (alist-delete 'configure %standard-phases))) @@ -267,9 +267,9 @@ (define-public zathura-pdf-poppler ("cairo" ,cairo))) (build-system gnu-build-system) (arguments - `(#:make-flags - `(,(string-append "DESTDIR=" (assoc-ref %outputs "out")) - "PLUGINDIR=/lib/zathura" "CC=gcc") + `(#:make-flags (list (string-append "PREFIX=" %output) + (string-append "PLUGINDIR=" %output "/lib/zathura") + "CC=gcc") #:tests? #f ; Package does not include tests. #:phases (alist-delete 'configure %standard-phases)))