File: rules

package info (click to toggle)
haskell-dummy 1%3A8
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 472 kB
  • sloc: makefile: 16
file content (21 lines) | stat: -rwxr-xr-x 580 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#!/usr/bin/make -f

%:
	dh $@


debian/control: debian/renames debian/control.source
	cat debian/control.source > $@
	while read from to; do  \
	  echo "Package: $$from" >> $@; \
	  echo "Architecture: all" >> $@; \
	  if echo $$from | grep -q doc$$; \
	  then echo "Section: doc" >> $@; \
	  else echo "Section: haskell" >> $@; \
	  fi; \
	  echo "Depends: \$${misc:Depends}, $$to" >> $@; \
	  echo "Description: transitional dummy package" >> $@; \
	  echo " This is a transitional dummy package. It can safely be removed." >> $@; \
	  echo "" >> $@; \
	done < debian/renames