Makefile 343 B

1234567891011121314151617181920212223242526
  1. srcdir = .
  2. GENFILES = dpkg.h
  3. default: all
  4. include ../Makefile.conf
  5. all:: $(GENFILES)
  6. install:: all
  7. clean::
  8. rm -f $(GENFILES)
  9. cvslean:: clean
  10. rm -f Makefile
  11. dpkg.h: dpkg.h.in
  12. sed -e 's,#CONFIGDIR#,$(dpkgconfdir),' \
  13. -e 's,#ADMINDIR#,$(admindir),' \
  14. -e 's,#LIBDIR#,$(dpkglibdir),' $< > $@
  15. .PHONY: all install clean distclean