LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 06-10-2020, 10:33 PM   #1
Lockywolf
Member
 
Registered: Jul 2007
Posts: 683

Rep: Reputation: 253Reputation: 253Reputation: 253
How do we set --docdir with meson builds?


As far as I remember, Slackware's documentation directory is /usr/doc.

How do I set it with meson?
 
Old 06-11-2020, 08:52 AM   #2
orbea
Senior Member
 
Registered: Feb 2015
Distribution: Slackware64-current
Posts: 1,950

Rep: Reputation: Disabled
Something like this, you may need to modify it for the specific case.

Code:
mv -- $PKG/usr/share/doc/$PRGNAM $PKG/usr/doc/$PRGNAM-$VERSION
Meson intentionally doesn't have --docdir or --datarootdir...

Last edited by orbea; 06-11-2020 at 08:54 AM.
 
Old 06-11-2020, 09:48 AM   #3
chrisretusn
Senior Member
 
Registered: Dec 2005
Location: Philippines
Distribution: Slackware64-current
Posts: 2,987

Rep: Reputation: 1556Reputation: 1556Reputation: 1556Reputation: 1556Reputation: 1556Reputation: 1556Reputation: 1556Reputation: 1556Reputation: 1556Reputation: 1556Reputation: 1556
Agree with @orbea, move any docs in the wrong place to the right place after the configure, build, install section of the SlackBuild script. "meson help setup" or "meson help configure" shows what meson accepts.
 
  


Reply

Tags
build, docdir, documentation, meson, slackware



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Which package should provide ninja and meson? Lennie Linux From Scratch 6 12-29-2017 02:01 AM
LXer: GNOME 3.28 Desktop Environment Gets Third Development Snapshot, More Meson Ports LXer Syndicated Linux News 0 12-17-2017 04:56 AM
[SOLVED] Meson sr_ls_boy Linux From Scratch 4 10-07-2017 05:52 AM
LXer: The Road to GTK+ 4 Continues, New Milestone Adds Initial OS X and Meson Support LXer Syndicated Linux News 0 05-24-2017 07:27 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 11:49 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration