Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Paths from which GPRinstall is supposed to copy the documentation seems incorrect. #50

Open
dvraaij opened this issue Mar 14, 2023 · 1 comment
Assignees

Comments

@dvraaij
Copy link

dvraaij commented Mar 14, 2023

The paths from which GPRinstall is supposed to copy the documentation seems incorrect. Looks like a missing indirection.

--- a/lib/gnat/aunit.gpr
+++ b/lib/gnat/aunit.gpr
@@ -50,13 +50,13 @@
 
    package Install is
       for Artifacts ("share/doc/aunit/pdf")
-        use ("../../doc/pdf/**");
+        use ("../../doc/build/aunit_cb/pdf/**");
       for Artifacts ("share/doc/aunit/txt")
-        use ("../../doc/txt/**");
+        use ("../../doc/build/aunit_cb/txt/**");
       for Artifacts ("share/doc/aunit/info")
-        use ("../../doc/info/**");
+        use ("../../doc/build/aunit_cb/info/**");
       for Artifacts ("share/doc/aunit/html")
-        use ("../../doc/html/**");
+        use ("../../doc/build/aunit_cb/html/**");
 
       for Artifacts ("share/gps/plug-ins") use ("../../support/aunit.xml");
       for Artifacts ("share/examples/aunit") use ("../../examples/*");
@dvraaij dvraaij changed the title Paths form which GPRinstall is supposed to copy the documentation seems incorrect. Paths from which GPRinstall is supposed to copy the documentation seems incorrect. Mar 14, 2023
@t-14
Copy link
Contributor

t-14 commented Mar 15, 2023

It's not exactly incorrect, but rather reflects the way things are built in our own production system, which is indeed different from what one would get if one just did make doc. The discrepancy seems unnecessary, we'll fix it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants