-
Notifications
You must be signed in to change notification settings - Fork 51
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
Convert make scripts (mkpkg.sh) into Makefiles #266
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
olebole
force-pushed
the
makefiles
branch
18 times, most recently
from
March 21, 2023 12:51
5987b10
to
8b33ee2
Compare
A simple build now can be done with IRAFARCH= make
Run mkfloat directly if needed
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This concentrates all settings required to do the build in the Makefile itself, and removes any dependency of a specific shell. At some later point, we may add a make install, which could install IRAF to a standard place (like
/usr/local/lib/iraf
, removing the need of the./install
script, and making IRAF much more conform to todays standard installation procedures.Available targets:
The change also makes it possible to compile IRAF without architecture specific bindirs, i.e. directly to
bin
,unix/bin
,noao/bin
, by invoking with a defined but emptyIRAFARCH
, i.e.IRAFARCH= make
Proposed roadmap:
/usr/local/lib
); should be configurable (f.e.prefix=/opt
)Drawbacks: mkpkg does not build the vendor packages anymore (but make does)