You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

Makefile 2.2 KiB

* Modifications to existing tasks: - Replaced talk of "this [meta]package" with "this task", and like changes. - In l10n tasks, s/-speaking// for consistency. - Make all l10n tasks include locales. It's in base, so this is of dubious utility, but some had it and some not. - Changed short descriptions of basic-desktop and desktop in an attempt to clarify how they're different. - Added some comments here and there for unresolved issues. - Largely rewrote Debian Jr. descriptions. - Added menu to desktop task. - Rejiggered mail-server, to be a general purpose mail server, not just imap. - Moved samba-server to file-server, and made that include nfs stuff too. - Added a print-server task, that also includes samba, along with other stuff. - Killed debian-dev(el) task, since it does not meet our task criteria -- nowhere near 10% of debian users are debian developers (we hope!), and probably not enough regular users will use this package to make up the difference. This is my own package, so I'm willing to be persuaded otherwise, though.. - Removed misc window managers from the desktop task. It is unnecessary to list them there, since anXious will let the user choose. - Killed the demo tasks. - Went for consistent capitalization of the short descriptions. Just capitalize proper names. I'm not sure if I like this effect, we may want to capitalize the first word of each description too. - Sundry other changes of little note. * Replaced several occurrances of "task packages" with "tasks" elsewhere in tasksel. * Added -a switch, to show all tasks, even empties. Mostly useful before we get tasks into the Packages files, for a global overview of how the * Added lint check to makedesc.pl -- it will warn at build time about tasks that list unavailable packages. This caught several references to virtual packages, etc already, that need to be fixed.. * VERSION in Makefile automatically tracks changelog.
20 years ago
21 years ago
21 years ago
21 years ago
21 years ago
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263
  1. DOMAIN=debian-tasks
  2. TASKDESC=$(DOMAIN).desc
  3. TASKDIR=/usr/share/tasksel
  4. DESCDIR=tasks
  5. DESCPO=$(DESCDIR)/po
  6. VERSION=$(shell expr "`dpkg-parsechangelog 2>/dev/null |grep Version:`" : '.*Version: \(.*\)' | cut -d - -f 1)
  7. LANGS=ar bg bs ca cs cy da de el es eu fi fr gl he hr hu id it ja ko lt mk nb nl nn pl pt pt_BR ro ru sk sl sq sv tl tr uk zh_CN zh_TW
  8. LANGS_DESC=ar bg bs ca cs cy da de el es eu fi fr gl he hr hu id it ja ko lt mk nb nl nn pl pt pt_BR ro ru sk sl sq sv tl tr uk zh_CN zh_TW
  9. LOCALEDIR=$(DESTDIR)/usr/share/locale
  10. all: $(TASKDESC) $(DESCPO)/build_stamp po/build_stamp
  11. $(TASKDESC): makedesc.pl $(DESCDIR)/[a-z]??*
  12. ./doincludes.pl $(DESCDIR)
  13. ./makedesc.pl $(DESCDIR) $(TASKDESC)
  14. %.o: %.c
  15. $(COMPILE) $<
  16. po/build_stamp:
  17. $(MAKE) -C po LANGS="$(LANGS)"
  18. updatepo:
  19. $(MAKE) -C po update LANGS="$(LANGS)"
  20. $(DESCPO)/build_stamp:
  21. $(MAKE) -C $(DESCPO) LANGS="$(LANGS_DESC)"
  22. updatetaskspo:
  23. $(MAKE) -C $(DESCPO) update LANGS="$(LANGS_DESC)"
  24. install:
  25. install -d $(DESTDIR)/usr/bin $(DESTDIR)$(TASKDIR) \
  26. $(DESTDIR)/usr/lib/tasksel/tests \
  27. $(DESTDIR)/usr/lib/tasksel/packages \
  28. $(DESTDIR)/usr/share/man/man8
  29. install -m 755 tasksel.pl $(DESTDIR)/usr/bin/tasksel
  30. install -m 755 tasksel-debconf $(DESTDIR)/usr/lib/tasksel/
  31. install -m 0644 $(TASKDESC) $(DESTDIR)$(TASKDIR)
  32. pod2man --section=8 --center "Debian specific manpage" --release $(VERSION) tasksel.pod | gzip -9c > $(DESTDIR)/usr/share/man/man8/tasksel.8.gz
  33. for lang in $(LANGS); do \
  34. [ ! -d $(LOCALEDIR)/$$lang/LC_MESSAGES/ ] && mkdir -p $(LOCALEDIR)/$$lang/LC_MESSAGES/; \
  35. install -m 644 po/$$lang.mo $(LOCALEDIR)/$$lang/LC_MESSAGES/tasksel.mo; \
  36. done
  37. for lang in $(LANGS_DESC); do \
  38. [ ! -d $(LOCALEDIR)/$$lang/LC_MESSAGES/ ] && mkdir -p $(LOCALEDIR)/$$lang/LC_MESSAGES/; \
  39. install -m 644 tasks/po/$$lang.mo $(LOCALEDIR)/$$lang/LC_MESSAGES/$(DOMAIN).mo; \
  40. done
  41. for test in tests/*; do \
  42. install -m 755 $$test $(DESTDIR)/usr/lib/tasksel/tests/; \
  43. done
  44. clean:
  45. rm -f $(TASKDESC) *~
  46. $(MAKE) -C po clean
  47. $(MAKE) -C $(DESCPO) clean
  48. # This taget is run to generate the overrides files.
  49. # It is run from a cron job, so should only generate output if there are
  50. # problems.
  51. override:
  52. @svn up tasks 2>&1 | grep -v ^U | grep -v "At revision" || true
  53. @./makeoverride.pl $(DESCDIR) > external-overrides-task