Gar Tips

Much of working with GAR is about convention and investigation. Over the past year we have come up with a number of tricks and tips to help package maintainers figure out what it is they're doing. Here are a few for your perusal:

  1. Trace The Variables
  2. Override Make Variables
    1. In the Makefile
    2. From the Environment
    3. Hard Override
  3. INSTALL_OVERRIDE_DIRS
  4. See How Debian Does It
  5. Configure With Verbose Shell
  6. Run a Typescript
  7. Implicit Destdir Considered Harmful
  8. Put Custom Rules After include
  9. Architecture-specific features
    1. GARCH-specific variable contents
    2. GARCH-specific custom rules
    3. DESTIMG-based hacks