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

Use top_srcdir for path to opts.ggo #18

Merged
merged 1 commit into from
Feb 9, 2024

Conversation

ferdnyc
Copy link
Contributor

@ferdnyc ferdnyc commented Feb 9, 2024

This fixes out-of-tree builds, which otherwise will fail when attempting to run gengetopt:

$ mkdir build; cd build
$ ../configure
$ make
[...]
make[2]: Entering directory '.../mmv/build'
gengetopt < opts.ggo --unamed-opts
/bin/sh: line 1: opts.ggo: No such file or directory
make[2]: *** [Makefile:2205: cmdline.h] Error 1
make[2]: Leaving directory '.../mmv/build'
make[1]: *** [Makefile:1755: all-recursive] Error 1
make[1]: Leaving directory '.../mmv/build'
make: *** [Makefile:1556: all] Error 2
```

@rrthomas rrthomas merged commit daf8eba into rrthomas:master Feb 9, 2024
@rrthomas
Copy link
Owner

rrthomas commented Feb 9, 2024

Many thanks for this!

@ferdnyc ferdnyc deleted the fix-out-of-tree branch February 9, 2024 16:59
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

Successfully merging this pull request may close these issues.

2 participants