Skip to content

Commit

Permalink
buildsys remove 'install-pkg' stub
Browse files Browse the repository at this point in the history
  • Loading branch information
fingolfin committed Mar 3, 2022
1 parent a4aa1f4 commit a06b32c
Showing 1 changed file with 0 additions and 16 deletions.
16 changes: 0 additions & 16 deletions Makefile.rules
Original file line number Diff line number Diff line change
Expand Up @@ -543,22 +543,6 @@ install-gaproot:
# LICENSE, README* ? Copy them also here? Or into some other path?
# TODO: also copy bin/BuildPackage.sh, as it is very useful?

install-pkg:
@echo "Warning, 'make install-pkg' is incomplete"
# TODO: should we try to compiled packages? perhaps better not, leave it
# to the packagers, as they also need to consider build dependencies ?! If
# we do try it, then we may need to deal with adjusting paths and so on...
# we can't really install packages by any other means that copying their
# whole directory... One strategy to overcome this: in the future, we
# demand that packages which must be built using `make` also support
# `make install prefix=DIR DESTDIR=dir`
# and/or allow packages to have a `Install(prefix, destdir)` field in
# their `PackageInfo.g` which contains a function that takes care of
# installation (e.g. by running `make install`, or by any other means).
# This could also be used by the PackageManager package (or perhaps we
# should just use PackageManager ourselves, and/or recommend it to
# packagers).

install-headers:
$(INSTALL) -d -m 0755 $(DESTDIR)$(includedir)/gap
$(INSTALL) -m 0644 $(srcdir)/src/*.h $(DESTDIR)$(includedir)/gap
Expand Down

0 comments on commit a06b32c

Please sign in to comment.