automake
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

installing documentation one level higher


From: Werner LEMBERG
Subject: installing documentation one level higher
Date: Sat, 07 Aug 2021 19:49:54 +0000 (UTC)

Folks,


I have the following structure in my source package

  foo/
  |__ doc/
  |   |__ bar.html
  |   |
  |   |__ img/
  |       |__ baz.png
  |
  |__ Makefile.am

My current rule (in the top-level `Makefile.am`) is

  nobase_dist_doc_DATA = doc/bar.html \
                         doc/img/baz.png

After `make install` the files are installed in

  /usr/local/share/doc/foo/doc/bar.html
  /usr/local/share/doc/foo/doc/img/baz.png

However, I would like to have them in 

  /usr/local/share/doc/foo/bar.html
  /usr/local/share/doc/foo/img/baz.png

that is, one directory level higher.  How can I achieve this?


    Werner



reply via email to

[Prev in Thread] Current Thread [Next in Thread]