# Make deb packages

## Preparation of source codes

Checkout Utsusemi and uGao as below.

```
$ cp -r Utsusemi mlf-utsusemi-ugao-4.0.210202
$ cp -r uGao mlf-utsusemi-ugao-4.0.210202
$ rm -rf mlf-utsusemi-ugao-4.0.210202/.git
$ rm -rf mlf-utsusemi-ugao-4.0.210202/uGao/.git
```

## Make Pacakges

```
$ tar czvf mlf-utsusemi-ugao-4.0.210202.tar.gz mlf-utsusemi-ugao-4.0.210202

$ dh_make -f ../mlf-utsusemi-ugao-4.0.210202.tar.gz
[s/i/l/p]? s

Are the details correct? [Y/n/q] Y

$ rm debian/*.ex debian/*.EX

$ vi debian/changelog

$ sudo dpkg-buildpackage -us -uc

$ ls -l ../*.deb
-rw-r--r-- 1 root root 20385520 Feb  8 19:31 ../mlf-utsusemi-ugao_4.0.210202-ubu18_amd64.deb
-rw-r--r-- 1 root root    85348 Feb  8 19:31 ../mlf-utsusemi-ugao-dev_4.0.210202-ubu18_amd64.deb

```