-# single_pkgs:=$(foreach pkg, $(pkgs), \
-# $(word $(words $(call FILTER-nonsrc, \
-# $(wildcard $(pkg)/*.el))), \
-# $(pkg)/$(notdir $(pkg))-pkg.el))
-# #$(foreach al, $(single_pkgs), $(eval $(call RULE-srcdeps, $(al))))
-# %-pkg.el: %.el
-# @echo 'EMACS -f package-generate-description-file $@'
-# @$(EMACS) \
-# --eval '(require (quote package))' \
-# --eval '(setq b (find-file-noselect "$<"))' \
-# --eval '(setq d (with-current-buffer b (package-buffer-info)))' \
-# --eval '(package-generate-description-file d "$(dir $@)")'
+pkg_descs:=$(foreach pkg, $(pkgs), $(pkg)/$(notdir $(pkg))-pkg.el)
+#$(foreach al, $(single_pkgs), $(eval $(call RULE-srcdeps, $(al))))
+%-pkg.el: %.el
+ @echo 'Generating description file $@'
+ @$(EMACS) \
+ --eval '(require (quote package))' \
+ --eval '(setq b (find-file-noselect "$<"))' \
+ --eval '(setq d (with-current-buffer b (package-buffer-info)))' \
+ --eval '(package-generate-description-file d "$@")'